ClassLoader::loadClass( string $class )

Loads the given class or interface.


Parameters Parameters

$class

(string) (Required) The name of the class


Top ↑

Return Return

(true|null) True if loaded, null otherwise


Top ↑

Source Source

File: vendor/composer/ClassLoader.php

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

            return true;
        }

        return null;
    }