| 1 | <?php | ||
| 7 | class Config | ||
| 8 | { | ||
| 9 | use Options; | ||
| 10 | |||
| 11 | /** | ||
| 12 | * @return Config | ||
| 13 | */ | ||
| 14 | public static function make() | ||
| 18 | |||
| 19 | /** | ||
| 20 | * Config constructor | ||
| 21 | */ | ||
| 22 | public function __construct() | ||
| 26 | |||
| 27 | /** | ||
| 28 | * @return $this | ||
| 29 | */ | ||
| 30 | protected function setDefaults(): self | ||
| 36 | |||
| 37 | /** | ||
| 38 | * Config as array | ||
| 39 | * | ||
| 40 | * @return array<mixed> | ||
| 41 | */ | ||
| 42 | public function toArray(): array | ||
| 46 | } | ||
| 47 |