/** * * @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; }
/** * * @param Store $store * @throws PromiseException */ public function __construct($promiseData = []) { parent::__construct($promiseData); $this->data[Store::STATE] = PromiseInterface::PENDING; }