You are here

public function SymfonyFileLocator::setFileExtension in Plug 7

Sets the file extension used to look for mapping files under.

Parameters

string $fileExtension The file extension to set.:

Return value

void

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/SymfonyFileLocator.php, line 128

Class

SymfonyFileLocator
The Symfony File Locator makes a simplifying assumptions compared to the DefaultFileLocator. By assuming paths only contain entities of a certain namespace the mapping files consists of the short classname only.

Namespace

Doctrine\Common\Persistence\Mapping\Driver

Code

public function setFileExtension($fileExtension) {
  $this->fileExtension = $fileExtension;
}