PHP Класс DebugKit\Panel\PanelRegistry

Наследование: extends Cake\Core\ObjectRegistry, use trait Cake\Event\EventDispatcherTrait
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Cake\Event\EventManager $events ) Constructor

Защищенные методы

Метод Описание
_create ( string $class, string $alias, array $config ) : DebugPanel Create the panels instance.
_resolveClassName ( string $class ) : string | false Resolve a panel class name.
_throwMissingClassError ( string $class, string $plugin ) : void Throws an exception when a component is missing.

Описание методов

__construct() публичный Метод

Constructor
public __construct ( Cake\Event\EventManager $events )
$events Cake\Event\EventManager Event Manager that panels should bind to. Typically this is the global manager.

_create() защищенный Метод

Part of the template method for Cake\Utility\ObjectRegistry::load()
protected _create ( string $class, string $alias, array $config ) : DebugPanel
$class string The classname to create.
$alias string The alias of the panel.
$config array An array of config to use for the panel.
Результат DebugKit\DebugPanel The constructed panel class.

_resolveClassName() защищенный Метод

Part of the template method for Cake\Utility\ObjectRegistry::load()
protected _resolveClassName ( string $class ) : string | false
$class string Partial class name to resolve.
Результат string | false Either the correct class name or false.

_throwMissingClassError() защищенный Метод

Part of the template method for Cake\Utility\ObjectRegistry::load()
protected _throwMissingClassError ( string $class, string $plugin ) : void
$class string The classname that is missing.
$plugin string The plugin the component is missing in.
Результат void