Lines Matching refs:fromCallable
58 return Closure::fromCallable([$this, 'privateInstanceFunc']);
63 return Closure::fromCallable([__CLASS__, 'privateStaticFunction']);
73 return Closure::fromCallable([$this, 'publicInstanceFunc']);
78 return Closure::fromCallable([$this, 'publicInstanceFunc']);
83 return Closure::fromCallable('self::publicInstanceFunc');
93 return Closure::fromCallable([__CLASS__, 'privateStaticFunction']);
99 return Closure::fromCallable([$this, 'privateInstanceFunc']);
104 return Closure::fromCallable([__CLASS__, 'protectedStaticFunction']);
109 return Closure::fromCallable([$this, 'protectedInstanceFunc']);
114 return Closure::fromCallable('parent::publicInstanceFunc');
119 return Closure::fromCallable('self::publicInstanceFunc');
125 return Closure::fromCallable('self::protectedInstanceFunc');
130 return Closure::fromCallable('self::privateInstanceFunc');
169 return Closure::fromCallable([$foo, 'protectedStaticFunction']);
176 return Closure::fromCallable([$foo, 'privateStaticFunction']);
184 return Closure::fromCallable([$foo, 'thisDoesNotExist']);