public function fail($e) { foreach ($this->call as list($deferred)) { $deferred->fail($e); } $this->call = []; }