Changeset View
Changeset View
Standalone View
Standalone View
src/future/FutureProxy.php
| Show All 24 Lines | protected function getProxiedFuture() { | ||||
| } | } | ||||
| return $this->proxied; | return $this->proxied; | ||||
| } | } | ||||
| public function isReady() { | public function isReady() { | ||||
| return $this->getProxiedFuture()->isReady(); | return $this->getProxiedFuture()->isReady(); | ||||
| } | } | ||||
| public function resolve($timeout = null) { | public function resolve() { | ||||
| $this->getProxiedFuture()->resolve($timeout); | $this->getProxiedFuture()->resolve(); | ||||
| return $this->getResult(); | return $this->getResult(); | ||||
| } | } | ||||
| public function setException(Exception $ex) { | public function setException(Exception $ex) { | ||||
| $this->getProxiedFuture()->setException($ex); | $this->getProxiedFuture()->setException($ex); | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| Show All 29 Lines | |||||