public function DefaultFileLocator::addPaths in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/DefaultFileLocator.php \Doctrine\Common\Persistence\Mapping\Driver\DefaultFileLocator::addPaths()
Appends lookup paths to metadata driver.
Parameters
array $paths:
Return value
void
1 call to DefaultFileLocator::addPaths()
- DefaultFileLocator::__construct in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ Driver/ DefaultFileLocator.php - Initializes a new FileDriver that looks in the given path(s) for mapping documents and operates in the specified operating mode.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ Driver/ DefaultFileLocator.php, line 69
Class
- DefaultFileLocator
- Locates the file that contains the metadata information for a given class name.
Namespace
Doctrine\Common\Persistence\Mapping\DriverCode
public function addPaths(array $paths) {
$this->paths = array_unique(array_merge($this->paths, $paths));
}