Lines Matching refs:onFulfilled
28 …public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
31 return $this->result->then($onFulfilled, $onRejected, $onProgress);
35 return new static($this->resolver($onFulfilled, $onRejected, $onProgress));
47 $this->resolver($onFulfilled, $onRejected, $onProgress),
58 …public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgre… argument
61 return $this->result->done($onFulfilled, $onRejected, $onProgress);
64 …$this->handlers[] = static function (ExtendedPromiseInterface $promise) use ($onFulfilled, $onReje…
66 ->done($onFulfilled, $onRejected);
115 …private function resolver(callable $onFulfilled = null, callable $onRejected = null, callable $onP… argument
117 return function ($resolve, $reject, $notify) use ($onFulfilled, $onRejected, $onProgress) {
132 …handlers[] = static function (ExtendedPromiseInterface $promise) use ($onFulfilled, $onRejected, $…
134 ->then($onFulfilled, $onRejected)