function(array $info)
{
if (!empty($info['mode']) && Router::isMode($info['mode'])) {
$this->_path = $info['path'];
$this->_ext = $info['ext'];
$this->_file = $info['file'];
$this->_checkers = $info['checkers'] ?? [];
$this->_lang_file = $info['i18n'] ?? null;
$this->_plugin = $info['plugin'] ?? null;
$this->_plugin_name = $info['plugin_name'] ?? null;
$this->_component = $info['component'] ?? null;
$this->_component_name = $info['component_name'] ?? null;
}
$this->_mvc = Mvc::getInstance();
}