| 1 | <?php |
||
| 7 | class ConfigManifestProxy extends CachedConfigCollection |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var CachedConfigCollection |
||
| 11 | */ |
||
| 12 | protected $parent; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | protected static $configCalls = []; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param CachedConfigCollection $parent |
||
| 21 | */ |
||
| 22 | public function __construct(CachedConfigCollection $parent) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Monitor calls made to get configuration during a request |
||
| 34 | * |
||
| 35 | * {@inheritDoc} |
||
| 36 | */ |
||
| 37 | public function get($class, $name = null, $excludeMiddleware = 0) |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Return a list of all config calls made during the request, including how many times they were called |
||
| 55 | * and the result |
||
| 56 | * |
||
| 57 | * @return array |
||
| 58 | */ |
||
| 59 | public static function getConfigCalls() |
||
| 63 | } |
||
| 64 |