class TestManager in Plug 7
Hierarchy
- class \Doctrine\Tests\Common\Persistence\TestManager
Expanded class hierarchy of TestManager
File
- lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ ManagerRegistryTest.php, line 67
Namespace
Doctrine\Tests\Common\PersistenceView source
class TestManager {
public function getMetadataFactory() {
$driver = PHPUnit_Framework_MockObject_Generator::getMock('Doctrine\\Common\\Persistence\\Mapping\\Driver\\MappingDriver');
$metadata = PHPUnit_Framework_MockObject_Generator::getMock('Doctrine\\Common\\Persistence\\Mapping\\ClassMetadata');
return new TestClassMetadataFactory($driver, $metadata);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestManager:: |
public | function |