You are here

public function FileDriver::setLocator in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php \Doctrine\Common\Persistence\Mapping\Driver\FileDriver::setLocator()

Sets the locator used to discover mapping files by className.

Parameters

FileLocator $locator:

File

vendor/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\Driver

Code

public function setLocator(FileLocator $locator) {
  $this->locator = $locator;
}