2009-01-06 17:22:23 +00:00
|
|
|
<?php
|
|
|
|
|
2009-01-22 19:38:10 +00:00
|
|
|
namespace Doctrine\Tests\Mocks;
|
|
|
|
|
2012-12-14 18:55:28 +00:00
|
|
|
/**
|
|
|
|
* Mock class for MappingDriver.
|
|
|
|
*/
|
2012-01-17 17:58:56 +01:00
|
|
|
class MetadataDriverMock implements \Doctrine\Common\Persistence\Mapping\Driver\MappingDriver
|
2009-02-05 17:34:44 +00:00
|
|
|
{
|
2012-12-14 18:55:28 +00:00
|
|
|
/**
|
|
|
|
* {@inheritdoc}
|
|
|
|
*/
|
2012-01-12 02:09:26 +01:00
|
|
|
public function loadMetadataForClass($className, \Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata)
|
2009-02-18 07:59:11 +00:00
|
|
|
{
|
2009-01-06 17:22:23 +00:00
|
|
|
}
|
2009-02-18 07:59:11 +00:00
|
|
|
|
2012-12-14 18:55:28 +00:00
|
|
|
/**
|
|
|
|
* {@inheritdoc}
|
|
|
|
*/
|
2009-02-18 07:59:11 +00:00
|
|
|
public function isTransient($className)
|
|
|
|
{
|
2009-02-05 17:34:44 +00:00
|
|
|
return false;
|
|
|
|
}
|
2009-07-15 20:18:40 +00:00
|
|
|
|
2012-12-14 18:55:28 +00:00
|
|
|
/**
|
|
|
|
* {@inheritdoc}
|
|
|
|
*/
|
2009-12-15 21:06:32 +00:00
|
|
|
public function getAllClassNames()
|
2009-07-15 20:18:40 +00:00
|
|
|
{
|
|
|
|
return array();
|
|
|
|
}
|
2012-12-14 18:55:28 +00:00
|
|
|
}
|