You are here

function ExtendedClassFinderInterface::registerClass in X Autoload 7.4

Same name and namespace in other branches
  1. 7.5 src/ClassFinder/ExtendedClassFinderInterface.php \Drupal\xautoload\ClassFinder\ExtendedClassFinderInterface::registerClass()

Register a filepath for an individual class.

Parameters

string $class: The class, e.g. My_Class

string $file_path: The path, e.g. "../lib/My/Class.php".

1 method overrides ExtendedClassFinderInterface::registerClass()
ClassFinder::registerClass in lib/ClassFinder/ClassFinder.php
Register a filepath for an individual class.

File

lib/ClassFinder/ExtendedClassFinderInterface.php, line 33

Class

ExtendedClassFinderInterface
Class finder interface with additional registration methods.

Namespace

Drupal\xautoload\ClassFinder

Code

function registerClass($class, $file_path);