| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 7 | class Favicon |
||
| 8 | { |
||
| 9 | /** @var array */ |
||
| 10 | protected $config; |
||
| 11 | |||
| 12 | public function __construct(array $config) |
||
| 15 | } |
||
| 16 | |||
| 17 | public function getFaviconText(string $environment) |
||
| 18 | { |
||
| 19 | return Arr::get($this->config, 'enabled_environments.'.$environment.'.text'); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getFaviconColor(string $environment) |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getFaviconBackgroundColor(string $environment) |
||
| 32 |