Contao\Controller::classFileExists PHP Method

classFileExists() protected method

Return true if a class exists (tries to autoload the class)
Deprecation: 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
return 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);
    }