Contao\Controller::classFileExists PHP Метод

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

Return true if a class exists (tries to autoload the class)
Устаревший: Deprecated since Contao 4.0, to be removed in Contao 5.0. Use the PHP function class_exists() instead.
protected classFileExists ( string $strClass ) : boolean
$strClass string The class name
Результат boolean True if the class exists
    protected function classFileExists($strClass)
    {
        @trigger_error('Using Controller::classFileExists() has been deprecated and will no longer work in Contao 5.0. Use the PHP function class_exists() instead.', E_USER_DEPRECATED);
        return class_exists($strClass);
    }