This is an error 404
There are `0` results
preferences:
149.12 ms | 1399 KiB | 7 Q<?hh
class Duplicator {
private function transform($value) {
return $value * 2;
}
public function getTransformed($stuff)
{
return $stuff->map(array($this, 'transform'));
}
}
$duplicator = new Duplicator();
$stuff = Vector {1,2,3};
var_dump($duplicator->getTransformed($stuff));