Home
last modified time | relevance | path

Searched refs:callback (Results 251 – 275 of 348) sorted by last modified time

1...<<11121314

/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Argument/Token/
H A DCallbackToken.php23 private $callback; variable in Prophecy\\Argument\\Token\\CallbackToken
28 * @param callable $callback
32 public function __construct($callback) argument
34 if (!is_callable($callback)) {
37 gettype($callback)
41 $this->callback = $callback;
53 return call_user_func($this->callback, $argument) ? 7 : false;
/plugin/findologicxmlexport/vendor/myclabs/deep-copy/
H A DREADME.md303 $callback = function ($currentValue) {
306 $copier->addFilter(new ReplaceFilter($callback), new PropertyMatcher('MyClass', 'title'));
310 // $copy->title will contain the data returned by the callback, e.g. 'The title (copy)'
321 $callback = function (MyClass $myClass) {
324 $copier->addTypeFilter(new ReplaceFilter($callback), new TypeMatcher('MyClass'));
332 The `$callback` parameter of the `ReplaceFilter` constructor accepts any PHP callable.
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/Template/js/
H A Dnv.d3.min.js2callback==typeof Function&&e.callback(d);a.render.queue.splice(0,f),a.render.queue.length?setTimeo…
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/
H A DAssert.php2298 * @param callable $callback
2302 public static function callback($callback) function in PHPUnit_Framework_Assert
2304 return new PHPUnit_Framework_Constraint_Callback($callback);
H A DTestCase.php1321 * @param callable $callback
1325 public function setOutputCallback($callback) argument
1327 if (!is_callable($callback)) {
1331 $this->outputCallback = $callback;
1914 * @param mixed $callback
1918 public static function returnCallback($callback) argument
1920 return new PHPUnit_Framework_MockObject_Stub_ReturnCallback($callback);
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Framework/
H A DAssertTest.php2930 $this->callback(function ($other) {
H A DConstraintTest.php1533 $constraint = PHPUnit_Framework_Assert::callback($closureWithoutParameter);
1536 $constraint = PHPUnit_Framework_Assert::callback($closureReflect);
1540 $callback = [$this, 'callbackReturningTrue'];
1541 $constraint = PHPUnit_Framework_Assert::callback($callback);
1544 $callback = ['Framework_ConstraintTest', 'staticCallbackReturningTrue'];
1545 $constraint = PHPUnit_Framework_Assert::callback($callback);
1557 $constraint = PHPUnit_Framework_Assert::callback(function () {
/plugin/findologicxmlexport/vendor/doctrine/annotations/docs/en/
H A Dannotations.rst165 …onRegistry#registerLoader($callable)`` to register an autoloader callback. The callback accepts the
174 A sample loader callback could look like:
/plugin/findologicxmlexport/vendor/hoa/file/
H A DFinder.php510 * @param callable $callback Callback
513 public function filter($callback) argument
515 $this->_filters[] = $callback;
/plugin/findologicxmlexport/vendor/hoa/iterator/
H A DCallbackGenerator.php75 * @param callable $callback Callback.
77 public function __construct(callable $callback) argument
79 $this->_callback = $callback;
/plugin/findologicxmlexport/vendor/jms/serializer/
H A DCHANGELOG.md168 - Remove handler callback [\#615](https://github.com/schmittjoh/serializer/issues/615)
594 - Object handler callback returns array, but serialized object = null [\#594](https://github.com/sc…
1001 - Handler callback's does not get passed context [\#49](https://github.com/schmittjoh/serializer/is…
1002 - PostSerialize callback causes data loss [\#46](https://github.com/schmittjoh/serializer/issues/46)
/plugin/findologicxmlexport/vendor/jms/serializer/doc/
H A Dhandlers.rst9 Handlers are simple callback which receive three arguments: the visitor,
/plugin/findologicxmlexport/vendor/jms/serializer/src/Builder/
H A DCallbackDriverFactory.php16 private $callback; variable in JMS\\Serializer\\Builder\\CallbackDriverFactory
20 $this->callback = $callable;
25 $driver = \call_user_func($this->callback, $metadataDirs, $reader);
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/
H A DContextTest.php34 …->with($this->anything(), $this->callback(static function (SerializationContext $context) use ($se…
60 …->with($this->anything(), $this->callback(static function (SerializationContext $context) use ($se…
H A DGraphNavigatorTest.php94 ->with($metadata, $this->callback(static function ($navigatorContext) use ($context) {
100 …->with($metadata->propertyMetadata['foo'], $this->callback(static function ($navigatorContext) use…
/plugin/findologicxmlexport/vendor/twig/twig/doc/
H A Drecipes.rst273 ``\Twig\Error\SyntaxError`` exception. However, it can also call a `callback`_ (any
292 If you register more than one callback, Twig will call them in turn until one
/plugin/findologicxmlexport/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/
H A DReplaceFilter.php13 protected $callback; variable in DeepCopy\\TypeFilter\\ReplaceFilter
20 $this->callback = $callable;
28 return call_user_func($this->callback, $element);
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/Assert/
H A DFunctions.php1582 * @param callable $callback
1586 function callback($callback) argument
2064 * @param mixed $callback
2068 function returnCallback($callback) argument
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/Constraint/
H A DCallback.php16 private $callback; variable in PHPUnit_Framework_Constraint_Callback
19 * @param callable $callback
23 public function __construct($callback) argument
25 if (!is_callable($callback)) {
34 $this->callback = $callback;
47 return call_user_func($this->callback, $other);
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/
H A DReturnCallback.php16 protected $callback; variable in PHPUnit_Framework_MockObject_Stub_ReturnCallback
18 public function __construct($callback) argument
20 $this->callback = $callback;
25 return call_user_func_array($this->callback, $invocation->parameters);
30 if (is_array($this->callback)) {
31 if (is_object($this->callback[0])) {
32 $class = get_class($this->callback[0]);
35 $class = $this->callback[0];
44 $this->callback[1]
47 return 'return result of user defined callback ' . $this->callback .
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/
H A DProxyObjectTest.php35 $proxy->callback($a, $b, $c);
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/
H A DArgument.php63 * @param callable $callback
67 public static function that($callback) argument
69 return new Token\CallbackToken($callback);
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Prediction/
H A DCallbackPrediction.php27 private $callback; variable in Prophecy\\Prediction\\CallbackPrediction
32 * @param callable $callback Custom callback
36 public function __construct($callback) argument
38 if (!is_callable($callback)) {
41 gettype($callback)
45 $this->callback = $callback;
57 $callback = $this->callback;
59 if ($callback instanceof Closure && method_exists('Closure', 'bind')) {
60 $callback = Closure::bind($callback, $object);
63 call_user_func($callback, $calls, $object, $method);
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Promise/
H A DCallbackPromise.php26 private $callback; variable in Prophecy\\Promise\\CallbackPromise
31 * @param callable $callback Custom callback
35 public function __construct($callback) argument
37 if (!is_callable($callback)) {
40 gettype($callback)
44 $this->callback = $callback;
58 $callback = $this->callback;
60 if ($callback instanceof Closure && method_exists('Closure', 'bind')) {
61 $callback = Closure::bind($callback, $object);
64 return call_user_func($callback, $args, $object, $method);
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/
H A DInvocationMocker.php145 * @param callable $callback
149 public function willReturnCallback($callback) argument
152 $callback

1...<<11121314