public function PHPDriver::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/PHPDriver.php \Doctrine\Common\Persistence\Mapping\Driver\PHPDriver::__construct()
Initializes a new FileDriver that looks in the given path(s) for mapping documents and operates in the specified operating mode.
Parameters
string|array|FileLocator $locator A FileLocator or one/multiple paths: where mapping documents can be found.
string|null $fileExtension:
Overrides FileDriver::__construct
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ Driver/ PHPDriver.php, line 45
Class
- PHPDriver
- The PHPDriver includes php files which just populate ClassMetadataInfo instances with plain PHP code.
Namespace
Doctrine\Common\Persistence\Mapping\DriverCode
public function __construct($locator, $fileExtension = null) {
$fileExtension = ".php";
parent::__construct($locator, $fileExtension);
}