Set the file extension used to look for mapping files under
Parameters
string $fileExtension The file extension to set:
Return value
void
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/SymfonyFileLocator.php, line 111
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;
}