예제 #1
0
 public function invokeArgs($object, array $args)
 {
     /** @noinspection PhpUndefinedMethodInspection */
     $invoker = invoker()->bindTo($object, get_class($object));
     return $invoker($this->getName(), $args);
 }
예제 #2
0
function test_destructor()
{
    echo ' = ', __FUNCTION__, " =\n";
    invoker(array(new Dtor(), 'f'));
    echo "done: test_destructor\n";
}