FOF30\Autoloader\Autoloader::loadClass PHP Méthode

loadClass() public méthode

Loads the given class or interface.
public loadClass ( string $class ) : boolean | null
$class string The name of the class
Résultat boolean | null True if loaded, null otherwise
    public function loadClass($class)
    {
        if ($file = $this->findFile($class)) {
            include $file;
            return true;
        }
    }