Exemple #1
0
 public function __toString()
 {
     return $this->state->__toString();
 }
Exemple #2
0
 public function __construct(Promise $promise, TaskQueue $tasks)
 {
     parent::__construct($promise, $tasks, null);
     $this->onFulfilled = new \SplObjectStorage();
     $this->onRejected = new \SplObjectStorage();
 }