You are here

function ClassLoaderInterface::loadClass in X Autoload 7.4

Same name and namespace in other branches
  1. 7.5 src/ClassLoader/ClassLoaderInterface.php \Drupal\xautoload\ClassLoader\ClassLoaderInterface::loadClass()

Callback for class loading. This will include ("require") the file found.

Parameters

string $class: The class to load.

3 methods override ClassLoaderInterface::loadClass()
AbstractClassLoaderDecorator::loadClass in lib/ClassLoader/AbstractClassLoaderDecorator.php
Callback for class loading. This will include ("require") the file found.
ClassFinder::loadClass in lib/ClassFinder/ClassFinder.php
Callback for class loading. This will include ("require") the file found.
ProxyClassFinder::loadClass in lib/ClassFinder/ProxyClassFinder.php
Callback for class loading. This will include ("require") the file found.

File

lib/ClassLoader/ClassLoaderInterface.php, line 29

Class

ClassLoaderInterface
Behaves mostly like the Symfony ClassLoader classes.

Namespace

Drupal\xautoload\ClassLoader

Code

function loadClass($class);