Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 public function reject($reason = null)
 {
     try {
         parent::reject($reason);
     } catch (\Exception $e) {
         $reason = $e;
     }
     $this->deferred->reject($reason);
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 public function reject($reason = null)
 {
     $this->promise();
     parent::reject($reason);
 }