Home
last modified time | relevance | path

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

1234

/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/
DCallExpression.php27 if ($this->hasAttribute('callable') && $callable = $this->getAttribute('callable')) {
28 if (\is_string($callable) && false === strpos($callable, '::')) {
29 $compiler->raw($callable);
31 list($r, $callable) = $this->reflectCallable($callable);
32 if ($r instanceof \ReflectionMethod && \is_string($callable[0])) {
34 $compiler->raw(sprintf('%s::%s', $callable[0], $callable[1]));
36 … $compiler->raw(sprintf('$this->env->getRuntime(\'%s\')->%s', $callable[0], $callable[1]));
38 … } elseif ($r instanceof \ReflectionMethod && $callable[0] instanceof ExtensionInterface) {
39 …iler->raw(sprintf('$this->env->getExtension(\'%s\')->%s', \get_class($callable[0]), $callable[1]));
96 $callable = $this->hasAttribute('callable') ? $this->getAttribute('callable') : null;
[all …]
DFunctionExpression.php36 $callable = $function->getCallable();
38 $callable = 'twig_constant_is_defined';
41 $this->setAttribute('callable', $callable);
/plugin/findologicxmlexport/vendor/hoa/event/
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);
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);
DListens.php62 * @param mixed $callable Callable.
65 public function on($listenerId, $callable) argument
78 $listener->attach($listenerId, $callable);
/plugin/findologicxmlexport/vendor/jms/serializer/src/ContextFactory/
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/
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);
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;
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/
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/
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/
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))
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/
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/findologicxmlexport/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/
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/dw2pdf/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/
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/scrape/vendor/scotteh/php-dom-wrapper/
DREADME.md128 self addClass(string|callable $class)
149 self follow(string|NodeList|\DOMNode|callable $input)
177 self appendWith(string|NodeList|\DOMNode|callable $input)
252 self precede(string|NodeList|\DOMNode|callable $input)
384 string|self html([string|NodeList|\DOMNode|callable $input = null])
419 self prependWith(string|NodeList|\DOMNode|callable $input)
480 self removeClass(string|callable $class)
500 self substituteWith(string|NodeList|\DOMNode|callable $input)
513 string|self text([string|NodeList|\DOMNode|callable $input = null])
555 self wrap(string|NodeList|\DOMNode|callable $input)
[all …]
/plugin/findologicxmlexport/vendor/hoa/math/Test/Unit/
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/
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/
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/findologicxmlexport/vendor/twig/twig/src/
DTwigTest.php24 protected $callable; variable in Twig\\TwigTest
29 public function __construct($name, $callable, array $options = []) argument
32 $this->callable = $callable;
DTwigFunction.php26 protected $callable; variable in Twig\\TwigFunction
30 public function __construct($name, $callable, array $options = []) argument
33 $this->callable = $callable;
DTwigFilter.php26 protected $callable; variable in Twig\\TwigFilter
30 public function __construct($name, $callable, array $options = []) argument
33 $this->callable = $callable;
/plugin/edittable/action/
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/hoa/math/Visitor/
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);

1234