public function StaticPHPDriver::__construct in Plug 7
Constructor.
Parameters
array|string $paths:
File
- lib/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Mapping/ Driver/ StaticPHPDriver.php, line 57
Class
- StaticPHPDriver
- The StaticPHPDriver calls a static loadMetadata() method on your entity classes where you can manually populate the ClassMetadata instance.
Namespace
Doctrine\Common\Persistence\Mapping\DriverCode
public function __construct($paths) {
$this
->addPaths((array) $paths);
}