Lines Matching refs:fromCallable
2 Testing Closure::fromCallable() functionality: Basic
9 $fn = Closure::fromCallable(['Foo', 'publicStaticFunction']);
13 $fn = Closure::fromCallable(['fOo', 'publicStaticfUNCTION']);
17 $fn = Closure::fromCallable('Foo::publicStaticFunction');
21 $fn = Closure::fromCallable([new Foo, 'publicInstanceFunc']);
25 $fn = Closure::fromCallable([new Foo, 'publicInstanceFunc']);
29 $fn = Closure::fromCallable('bar');
33 $fn = Closure::fromCallable('BAR');
37 $fn = Closure::fromCallable($closure);
41 $fn = Closure::fromCallable(new PublicInvocable);
90 $fn = Closure::fromCallable([new MagicCall, 'nonExistentMethod']);
94 $fn = Closure::fromCallable(['MagicCall', 'nonExistentMethod']);