You are here

public function AnnotationDriver::addExcludePaths in Zircon Profile 8

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

Append exclude lookup paths to metadata driver.

Parameters

array $paths:

File

vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php, line 120

Class

AnnotationDriver
The AnnotationDriver reads the mapping metadata from docblock annotations.

Namespace

Doctrine\Common\Persistence\Mapping\Driver

Code

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