public function StaticPHPDriver::__construct

Constructor

Parameters

array|string $paths:

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/StaticPHPDriver.php, line 58

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

Code

public function __construct($paths) {
  $this
    ->addPaths((array) $paths);
}