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