@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
at recaptime-dev/main 18 lines 360 B view raw
1<?php 2 3abstract class DrydockInterface extends Phobject { 4 5 private $config = array(); 6 7 abstract public function getInterfaceType(); 8 9 final public function setConfig($key, $value) { 10 $this->config[$key] = $value; 11 return $this; 12 } 13 14 final protected function getConfig($key, $default = null) { 15 return idx($this->config, $key, $default); 16 } 17 18}