You are here

public function StaticPHPDriver::addPaths in Zircon Profile 8.0

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

Adds paths.

Parameters

array $paths:

Return value

void

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

File

vendor/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));
}