ClassLoader::loadClass( string $class )

Loads the given class or interface.


Parameters

$class

(string) (Required) The name of the class


Return

(bool|null) True if loaded, null otherwise


Source

File: vendor/composer/ClassLoader.php

    public function loadClass($class)
    {
        if ($file = $this->findFile($class)) {
            includeFile($file);

            return true;
        }
    }