You are here

function ClassFinder::__construct in X Autoload 7.4

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

File

lib/ClassFinder/ClassFinder.php, line 38

Class

ClassFinder

Namespace

Drupal\xautoload\ClassFinder

Code

function __construct() {
  $this->prefixMap = new GenericPrefixMap('_');
  $this->namespaceMap = new GenericPrefixMap('\\');
  $this->defaultBehavior = new DefaultDirectoryBehavior();
  $this->psr0Behavior = new Psr0DirectoryBehavior();
}