mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 02:42:40 +01:00
19 lines
336 B
PHP
19 lines
336 B
PHP
|
<?php
|
||
|
|
||
|
abstract class DrydockInterface {
|
||
|
|
||
|
private $config;
|
||
|
|
||
|
abstract public function getInterfaceType();
|
||
|
|
||
|
final public function setConfiguration(array $config) {
|
||
|
$this->config = $config;
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
final protected function getConfig($key, $default = null) {
|
||
|
return idx($this->config, $key, $default);
|
||
|
}
|
||
|
|
||
|
}
|