Changeset View
Changeset View
Standalone View
Standalone View
src/repository/api/ArcanistRepositoryAPI.php
| Show First 20 Lines • Show All 669 Lines • ▼ Show 20 Lines | /* -( Base Commits )------------------------------------------------------- */ | ||||
| } | } | ||||
| final public function newFuture($pattern /* , ... */) { | final public function newFuture($pattern /* , ... */) { | ||||
| $args = func_get_args(); | $args = func_get_args(); | ||||
| return $this->buildLocalFuture($args) | return $this->buildLocalFuture($args) | ||||
| ->setResolveOnError(false); | ->setResolveOnError(false); | ||||
| } | } | ||||
| public function newPassthru($pattern /* , ... */) { | |||||
| throw new PhutilMethodNotImplementedException(); | |||||
| } | |||||
| final public function execPassthru($pattern /* , ... */) { | |||||
| $args = func_get_args(); | |||||
| $future = call_user_func_array( | |||||
| array($this, 'newPassthru'), | |||||
| $args); | |||||
| return $future->resolve(); | |||||
| } | |||||
| final public function setRuntime(ArcanistRuntime $runtime) { | final public function setRuntime(ArcanistRuntime $runtime) { | ||||
| $this->runtime = $runtime; | $this->runtime = $runtime; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| final public function getRuntime() { | final public function getRuntime() { | ||||
| return $this->runtime; | return $this->runtime; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines | |||||