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