1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/tests/Doctrine/Tests/Mocks/MetadataDriverMock.php

33 lines
572 B
PHP
Raw Normal View History

<?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();
}
}