You are here

public function DefaultFileLocator::addPaths in Plug 7

Appends lookup paths to metadata driver.

Parameters

array $paths:

Return value

void

1 call to DefaultFileLocator::addPaths()
DefaultFileLocator::__construct in lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/DefaultFileLocator.php
Initializes a new FileDriver that looks in the given path(s) for mapping documents and operates in the specified operating mode.

File

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

Class

DefaultFileLocator
Locates the file that contains the metadata information for a given class name.

Namespace

Doctrine\Common\Persistence\Mapping\Driver

Code

public function addPaths(array $paths) {
  $this->paths = array_unique(array_merge($this->paths, $paths));
}