Doctrine\Common\ClassLoader::__construct
Creates a new <tt>ClassLoader</tt> that loads classes of the specified namespace from the specified include path.
If no include path is given, the ClassLoader relies on the PHP include_path. If neither a namespace nor an include path is given, the ClassLoader will be responsible for loading all classes, thereby relying on the PHP include_path.
Signature
public function __construct([string
$ns = null,
[string
$includePath = null]] )
Parameters
$ns
— string- The namespace of the classes to load.
$includePath
— string- The base include path to use.