| 1 | <?php namespace Mascame\Artificer\Options; |
||
| 3 | class AdminOption extends Option |
||
| 4 | { |
||
| 5 | |||
| 6 | /** |
||
| 7 | * @var string |
||
| 8 | */ |
||
| 9 | public static $key = 'admin'; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @param null $key |
||
| 13 | * @return mixed |
||
| 14 | */ |
||
| 15 | public static function get($key = null) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $key |
||
| 22 | * @return bool |
||
| 23 | */ |
||
| 24 | public static function has($key = '') |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param null $key |
||
| 31 | * @return mixed |
||
| 32 | */ |
||
| 33 | public static function all($key = null) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param string $key |
||
| 44 | * @param $value |
||
| 45 | */ |
||
| 46 | public static function set($key, $value) |
||
| 50 | } |