You are here

public function StaticPHPDriver::addPaths in Plug 7

Adds paths.

Parameters

array $paths:

Return value

void

1 call to StaticPHPDriver::addPaths()
StaticPHPDriver::__construct in lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/StaticPHPDriver.php
Constructor.

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/StaticPHPDriver.php, line 69

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 addPaths(array $paths) {
  $this->paths = array_unique(array_merge($this->paths, $paths));
}