Kahlan\Jit\Interceptor::loadClass PHP Метод

loadClass() публичный Метод

Loads the given class or interface.
public loadClass ( string $class ) : boolean | null
$class string The name of the class.
Результат boolean | null Returns `true` if loaded, `null` otherwise.
    public function loadClass($class)
    {
        if (!($file = $this->findFile($class))) {
            return;
        }
        if (!$this->patchable($class)) {
            include $file;
            return true;
        }
        return $this->loadFile($file);
    }