canceller = $canceller; } public function promise() { if (null === $this->promise) { $this->promise = new Promise(function ($resolve, $reject, $notify) { $this->resolveCallback = $resolve; $this->rejectCallback = $reject; $this->notifyCallback = $notify; }, $this->canceller); $this->canceller = null; } return $this->promise; } public function resolve($value = null) { $this->promise(); \call_user_func($this->resolveCallback, $value); } public function reject($reason = null) { $this->promise(); \call_user_func($this->rejectCallback, $reason); } /** * @deprecated 2.6.0 Progress support is deprecated and should not be used anymore. * @param mixed $update */ public function notify($update = null) { $this->promise(); \call_user_func($this->notifyCallback, $update); } /** * @deprecated 2.2.0 * @see Deferred::notify() */ public function progress($update = null) { $this->notify($update); } } __halt_compiler();----SIGNATURE:----xGE4ndTP2J7f0MJrFgmP8bm/u3QOLaUa1hggNcaI8660SELw/9Ilb6ju9oYbw7ycmqUlgNrzw3DZRePPJkDr5dlDT0r7B4+qmyrepb+zzr2Bb5rBnRukVKzgSgIAK7k8L+gJLNVh082p6YaJU0czqbP+3n3ssQ36FPAufYpjzWKoxZZZ2LgdoYRytY8xEW4Mq0JrvdbuxmGK7SGkgF6Xzu3lArVhqREtI9qbPvl0pG0f5j/ChgbOelYXMOAvc8NfW6+bL3zvgVtkOeBcQbKOZVA7oHvMc9VpfzxsMCh08YY4yMAaNjpz/TqmV50brc13z7RijMsLdUR+ivjnh9lJfe2Hx+DudG+MranvOGAQyO/CBOqtZu/tbrEwPLN+81HfEhQVmlCimzoJqvR7BEEV0N5SPUFZ3cXVOSSHQSE8j7zWS/XUBbRlxU84S6qfg+8SR5QBh9CO2b2zK0jv0jfnr7h7uo22NUHY1xHDjeixwsoLIx6HX46+FBShXfv2j1Eb4ZMDW0w34gCeZ0YflRnTjhuLZ+hhDP/yrorPrFE6KATkIc/1I/rIo/8pZRYe5EO7FRXsMjIhQTnCctivwhdBvhR9SIGNawuw0iiEtZuXuGm1WyCIOt+RK/ht6SlYk8BxnctDIHUaG/y3uiyzsM4h4Xb55ncomKCPcrWc41E9gZI=----ATTACHMENT:----MjMxNjI0NDQzMzA1OTcwMiA5MzYwNTgxNjA3NjE5NjI0IDQ2NzcyODMwMjg1Mzk3NzI=