| 1 | <?php |
||
| 25 | class Configuration |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @var array The (unfiltered) output of opcache_get_configuration() |
||
| 29 | */ |
||
| 30 | private $configData; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var \OpCacheGUI\Format\Byte Formatter of byte values |
||
| 34 | */ |
||
| 35 | private $byteFormatter; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Creates instance |
||
| 39 | * |
||
| 40 | * @param \OpCacheGUI\Format\Byte $byteFormatter Formatter of byte values |
||
| 41 | * @param array $configData The configuration data from opcache |
||
| 42 | */ |
||
| 43 | 2 | public function __construct(Byte $byteFormatter, array $configData) |
|
| 48 | |||
| 49 | /** |
||
| 50 | * Gets the ini directives of OpCache |
||
| 51 | * |
||
| 52 | * @return array The ini directives |
||
| 53 | */ |
||
| 54 | 1 | public function getIniDirectives() |
|
| 62 | |||
| 63 | /** |
||
| 64 | * Gets blacklisted files |
||
| 65 | * |
||
| 66 | * @return array List of blacklisted files |
||
| 67 | */ |
||
| 68 | 1 | public function getBlackList() |
|
| 72 | } |
||
| 73 |