| 1 | <?php |
||
| 10 | abstract class AbstractUtility |
||
| 11 | { |
||
| 12 | private $config; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * AbstractUtility constructor. |
||
| 16 | * |
||
| 17 | * @param Config|null $config |
||
| 18 | */ |
||
| 19 | 149 | public function __construct(Config $config = null) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @return Config |
||
| 28 | */ |
||
| 29 | 34 | public function getConfig(): Config |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @param Config $config |
||
| 40 | */ |
||
| 41 | 16 | public function setConfig(Config $config) |
|
| 45 | } |
||
| 46 |