Changeset View
Changeset View
Standalone View
Standalone View
src/applications/doorkeeper/bridge/DoorkeeperBridge.php
<?php | <?php | ||||
abstract class DoorkeeperBridge extends Phobject { | abstract class DoorkeeperBridge extends Phobject { | ||||
private $viewer; | private $viewer; | ||||
private $context = array(); | private $context = array(); | ||||
private $throwOnMissingLink; | private $throwOnMissingLink; | ||||
private $timeout; | |||||
public function setTimeout($timeout) { | |||||
$this->timeout = $timeout; | |||||
return $this; | |||||
} | |||||
public function getTimeout() { | |||||
return $this->timeout; | |||||
} | |||||
public function setThrowOnMissingLink($throw_on_missing_link) { | public function setThrowOnMissingLink($throw_on_missing_link) { | ||||
$this->throwOnMissingLink = $throw_on_missing_link; | $this->throwOnMissingLink = $throw_on_missing_link; | ||||
return $this; | return $this; | ||||
} | } | ||||
final public function setViewer($viewer) { | final public function setViewer($viewer) { | ||||
$this->viewer = $viewer; | $this->viewer = $viewer; | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |