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: libraries/lifterlms-cli/vendor/composer/ClassLoader.php

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

            return true;
        }

        return null;
    }

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.