Home
last modified time | relevance | path

Searched refs:callable (Results 51 – 71 of 71) sorted by path

123

/plugin/findologicxmlexport/vendor/twig/twig/
H A DCHANGELOG485 * added the ability to use any PHP callable to define filters, functions, and tests
815 * made macros callable when sandbox mode is enabled
/plugin/findologicxmlexport/vendor/twig/twig/doc/
H A Dadvanced.rst129 Creating a filter is as simple as associating a name with a PHP callable::
149 of the filter you will use in templates and the second one is the PHP callable
165 When called by Twig, the PHP callable receives the left side of the filter
814 any valid PHP callable:
H A Dadvanced_legacy.rst135 callable. For instance, let's say you have the following code in a template:
141 When compiling this template to PHP, Twig looks for the PHP callable
304 When compiling this template to PHP, Twig looks for the PHP callable
H A Drecipes.rst274 valid PHP callable) which should return a function (or a filter).
289 If the callable is not able to return a valid function (or filter), it must
568 .. _callback: https://secure.php.net/manual/en/function.is-callable.php
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A Descape.rst95 used in the ``escape`` call) and the second one must be a valid PHP callable:
105 When called by Twig, the callable receives the Twig environment instance, the
/plugin/findologicxmlexport/vendor/twig/twig/src/
H A DEnvironment.php1186 public function registerUndefinedFilterCallback($callable) argument
1188 $this->filterCallbacks[] = $callable;
1358 public function registerUndefinedFunctionCallback($callable) argument
1360 $this->functionCallbacks[] = $callable;
H A DTwigFilter.php26 protected $callable; variable in Twig\\TwigFilter
30 public function __construct($name, $callable, array $options = []) argument
33 $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 DTwigTest.php24 protected $callable; variable in Twig\\TwigTest
29 public function __construct($name, $callable, array $options = []) argument
32 $this->callable = $callable;
/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/
H A DCoreExtension.php49 * @param callable $callable A valid PHP callable
51 public function setEscaper($strategy, $callable) argument
53 $this->escapers[$strategy] = $callable;
/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/twig/twig/test/Twig/Tests/Node/Expression/
H A DCallTest.php130 public function getArguments($callable, $arguments) argument
132 return parent::getArguments($callable, $arguments);
/plugin/findologicxmlexport/vendor/webmozart/assert/
H A DREADME.md104 `isCallable($value, $message = '')` | Check that a value is a 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/jplayer/vendor/mustache/mustache/src/Mustache/
H A DCompiler.php232 $callable = $this->strictCallables ? $this->prepare(self::STRICT_CALLABLE) : '';
234 …return sprintf($this->prepare($klass, 0, false, true), $name, $callable, $code, $sections, $blocks…
374 $callable = $this->getCallable();
388 …$this->sections[$key] = sprintf($this->prepare(self::SECTION), $key, $callable, $source, $helper, …
558 $callable = $this->getCallable('$filter');
561 …return sprintf($this->prepare(self::FILTER, $level), $method, $filter, $callable, $msg, $this->get…
/plugin/pureldap/vendor/freedsx/socket/src/FreeDSx/Socket/Queue/
H A DAsn1MessageQueue.php78 $callable = [$this->pduClass, 'fromAsn1'];
79 if (!\is_callable($callable)) {
80 throw new \RuntimeException(sprintf('The class %s is not callable.', $this->pduClass));
83 return \call_user_func($callable, $message->getMessage());
/plugin/structsection/
H A Dyarn.lock1294 is-callable "^1.2.2"
1308 is-callable "^1.1.4"
1772 is-callable@^1.1.4, is-callable@^1.2.2:
1774 …resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.2.tgz#c7c6715cd22d4ddb48d3e19…
/plugin/syntaxhighlighter4/dist/
H A Dsyntaxhighlighter.js.map1 …n var funcs = '__import__ abs all any apply basestring bin bool buffer callable ' +\n 'chr cla…

123