private function FileDriverTest::newLocator in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/FileDriverTest.php \Doctrine\Tests\Common\Persistence\Mapping\FileDriverTest::newLocator()
7 calls to FileDriverTest::newLocator()
- FileDriverTest::testGetAllClassNamesBothSources in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ FileDriverTest.php - FileDriverTest::testGetAllClassNamesFromMappingFile in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ FileDriverTest.php - FileDriverTest::testGetAllClassNamesGlobalBasename in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ FileDriverTest.php - FileDriverTest::testGetElementFromFile in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ FileDriverTest.php - FileDriverTest::testGetElementFromGlobalFile in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ FileDriverTest.php
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ FileDriverTest.php, line 119
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
private function newLocator() {
$locator = $this
->getMock('Doctrine\\Common\\Persistence\\Mapping\\Driver\\FileLocator');
$locator
->expects($this
->any())
->method('getFileExtension')
->will($this
->returnValue('.yml'));
$locator
->expects($this
->any())
->method('getPaths')
->will($this
->returnValue(array(
__DIR__ . "/_files",
)));
return $locator;
}