Home
last modified time | relevance | path

Searched refs:callable (Results 1 – 25 of 64) sorted by relevance

123

/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/
H A DCallExpression.php28 if (\is_string($callable) && false === strpos($callable, '::')) {
29 $compiler->raw($callable);
31 list($r, $callable) = $this->reflectCallable($callable);
34 $compiler->raw(sprintf('%s::%s', $callable[0], $callable[1]));
135 if (!$callable) {
274 if (\is_array($callable)) {
275 if (!method_exists($callable[0], $callable[1])) {
279 $r = new \ReflectionMethod($callable[0], $callable[1]);
280 } elseif (\is_object($callable) && !$callable instanceof \Closure) {
283 $callable = [$callable, '__invoke'];
[all …]
H A DFunctionExpression.php36 $callable = $function->getCallable();
38 $callable = 'twig_constant_is_defined';
41 $this->setAttribute('callable', $callable);
/plugin/findologicxmlexport/vendor/hoa/event/
H A DListener.php99 * @param mixed $callable Callable.
103 public function attach($listenerId, $callable) argument
113 $callable = xcallable($callable);
114 $this->_callables[$listenerId][$callable->getHash()] = $callable;
123 * @param mixed $callable Callable.
126 public function detach($listenerId, $callable) argument
128 unset($this->_callables[$listenerId][xcallable($callable)->getHash()]);
178 foreach ($this->_callables[$listenerId] as $callable) {
179 $out[] = $callable($data);
H A DEvent.php185 * @param mixed $callable Callable.
188 public function attach($callable) argument
190 $callable = xcallable($callable);
191 $this->_callable[$callable->getHash()] = $callable;
200 * @param mixed $callable Callable.
203 public function detach($callable) argument
205 unset($this->_callable[xcallable($callable)->getHash()]);
242 foreach ($event->_callable as $callable) {
243 $callable($data);
H A DListens.php62 * @param mixed $callable Callable.
65 public function on($listenerId, $callable) argument
78 $listener->attach($listenerId, $callable);
H A DListenable.php53 * @param mixed $callable Callable.
56 public function on($listenerId, $callable); argument
/plugin/findologicxmlexport/vendor/jms/serializer/src/ContextFactory/
H A DCallableContextFactory.php17 private $callable; variable in JMS\\Serializer\\ContextFactory\\CallableContextFactory
19 public function __construct(callable $callable) argument
21 $this->callable = $callable;
29 $callable = $this->callable;
31 return $callable();
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/
H A DCallablesFilter.php42 if (null !== $callable = $this->loader) {
43 $callable($asset);
49 if (null !== $callable = $this->dumper) {
50 $callable($asset);
56 if (null !== $callable = $this->extractor) {
57 return $callable($factory, $content, $loadPath);
H A DLessphpFilter.php100 foreach ($this->customFunctions as $name => $callable) {
101 $lc->registerFunction($name, $callable);
119 public function registerFunction($name, $callable) argument
121 $this->customFunctions[$name] = $callable;
H A DScssphpFilter.php84 public function registerFunction($name, $callable) argument
86 $this->customFunctions[$name] = $callable;
105 foreach ($this->customFunctions as $name => $callable) {
106 $sc->registerFunction($name, $callable);
/plugin/findologicxmlexport/vendor/hoa/consistency/
H A DConsistency.php224 * @param callable $callable Callable.
227 public static function registerShutdownFunction($callable) argument
229 return register_shutdown_function($callable);
339 * @param mixed $callable Callable (two parts).
343 function curry($callable) argument
349 return function () use ($callable, $arguments, $ii) {
351 $callable,
/plugin/findologicxmlexport/vendor/hoa/math/
H A DContext.php140 * @param mixed $callable Callable.
144 public function addFunction($name, $callable = null) argument
146 if (null === $callable) {
155 $callable = $name;
158 $this->_functions[$name] = xcallable($callable);
197 * @param callable $callable Callable.
200 public function addVariable($name, callable $callable) argument
202 $this->_variables[$name] = xcallable($callable);
/plugin/findologicxmlexport/vendor/hoa/event/Test/Unit/
H A DListener.php79 $callable = function () {
83 ->when($result = $listener->attach($listenerId, $callable))
98 $callable = function () { }
100 ->exception(function () use ($listener, $listenerId, $callable) {
101 $listener->attach($listenerId, $callable);
113 $callable = function () {
116 $listener->attach($listenerId, $callable)
118 ->when($result = $listener->detach($listenerId, $callable))
133 $callable = function () { }
135 ->when($result = $listener->detach($listenerId, $callable))
H A DEvent.php181 $callable = function () { }
183 ->when($result = $event->attach($callable))
196 $callable = function () { },
197 $event->attach($callable)
199 ->when($result = $event->detach($callable))
212 $callable = function () { }
214 ->when($result = $event->detach($callable))
/plugin/findologicxmlexport/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/
H A DAnnotationRegistry.php112 public static function registerLoader(callable $callable) : void argument
116 self::$loaders[] = $callable;
124 public static function registerUniqueLoader(callable $callable) : void argument
126 if ( ! in_array($callable, self::$loaders, true) ) {
127 self::registerLoader($callable);
/plugin/dw2pdf/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/
H A DReplaceFilter.php16 * @param callable $callable Will be called to get the new value for each element to replace
18 public function __construct(callable $callable) argument
20 $this->callback = $callable;
/plugin/findologicxmlexport/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/
H A DReplaceFilter.php16 * @param callable $callable Will be called to get the new value for each element to replace
18 public function __construct(callable $callable) argument
20 $this->callback = $callable;
/plugin/findologicxmlexport/vendor/hoa/math/Test/Unit/
H A DContext.php84 $callable = function () use ($value) { return $value; },
86 $context->addVariable($name, $callable)
237 $callable = function () {},
239 $context->addFunction($name, $callable)
253 $callable = function () use ($value) { return $value; },
255 $context->addFunction($name, $callable)
/plugin/findologicxmlexport/vendor/myclabs/deep-copy/src/DeepCopy/Filter/
H A DReplaceFilter.php18 * @param callable $callable Will be called to get the new value for each property to replace
20 public function __construct(callable $callable) argument
22 $this->callback = $callable;
/plugin/dw2pdf/vendor/myclabs/deep-copy/src/DeepCopy/Filter/
H A DReplaceFilter.php18 * @param callable $callable Will be called to get the new value for each property to replace
20 public function __construct(callable $callable) argument
22 $this->callback = $callable;
/plugin/edittable/action/
H A Deditor.php243 static $callable;
245 if (isset($callable)) {
246 return $callable($str);
250 $callable = 'mb_strwidth';
253 $callable = [Utf8\PhpString::class, 'strlen'];
256 $callable = 'utf8_strlen';
/plugin/findologicxmlexport/vendor/twig/twig/src/
H A DTwigTest.php24 protected $callable; variable in Twig\\TwigTest
29 public function __construct($name, $callable, array $options = []) argument
32 $this->callable = $callable;
H A DTwigFunction.php26 protected $callable; variable in Twig\\TwigFunction
30 public function __construct($name, $callable, array $options = []) argument
33 $this->callable = $callable;
H A DTwigFilter.php26 protected $callable; variable in Twig\\TwigFilter
30 public function __construct($name, $callable, array $options = []) argument
33 $this->callable = $callable;
/plugin/findologicxmlexport/vendor/hoa/math/Visitor/
H A DArithmetic.php352 * @param mixed $callable Callable.
355 public function addFunction($name, $callable = null) argument
357 return $this->_context->addFunction($name, $callable);
376 * @param callable $callable Callable.
379 public function addVariable($name, callable $callable) argument
381 return $this->_context->addVariable($name, $callable);

123