/** * @param array $routes роуты для сравнения * @param bool $except * @param array $config */ public function __construct($routes, $except = false, $config = []) { $this->_routes = (array) $routes; $this->_except = (bool) $except; parent::__construct($config); }