public function FileDriver::setLocator in Plug 7
Sets the locator used to discover mapping files by className.
Parameters
FileLocator $locator:
File
- lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ Driver/ FileDriver.php, line 207
Class
- FileDriver
- Base driver for file-based metadata drivers.
Namespace
Doctrine\Common\Persistence\Mapping\DriverCode
public function setLocator(FileLocator $locator) {
$this->locator = $locator;
}