1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/tests/Doctrine/Tests/Mocks/MetadataDriverMock.php
2012-12-14 18:55:28 +00:00

33 lines
572 B
PHP

<?php
namespace Doctrine\Tests\Mocks;
/**
* Mock class for MappingDriver.
*/
class MetadataDriverMock implements \Doctrine\Common\Persistence\Mapping\Driver\MappingDriver
{
/**
* {@inheritdoc}
*/
public function loadMetadataForClass($className, \Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata)
{
}
/**
* {@inheritdoc}
*/
public function isTransient($className)
{
return false;
}
/**
* {@inheritdoc}
*/
public function getAllClassNames()
{
return array();
}
}