/**
  *
  * @param Store $store
  * @throws PromiseException
  */
 public function __construct($promiseData = [])
 {
     parent::__construct($promiseData);
     $this->data[Store::PARENT_ID] = null;
     $this->data[Store::ON_FULFILLED] = null;
     $this->data[Store::ON_REJECTED] = null;
 }
Beispiel #2
0
 /**
  *
  * @param Store $store
  * @throws PromiseException
  */
 public function __construct($promiseData = [])
 {
     parent::__construct($promiseData);
     $this->data[Store::STATE] = PromiseInterface::PENDING;
 }