<?php class Foo { public function bar() { echo "OK"; } } $c = Closure::fromCallable([new Foo(), 'bar']); print_r($c); var_dump($c);
You have javascript disabled. You will not be able to edit any code.