MetadataDriverMock.php 402B

123456789101112131415161718192021
  1. <?php
  2. namespace Doctrine\Tests\Mocks;
  3. class MetadataDriverMock implements \Doctrine\ORM\Mapping\Driver\Driver
  4. {
  5. public function loadMetadataForClass($className, \Doctrine\ORM\Mapping\ClassMetadataInfo $metadata)
  6. {
  7. return;
  8. }
  9. public function isTransient($className)
  10. {
  11. return false;
  12. }
  13. public function getAllClassNames()
  14. {
  15. return array();
  16. }
  17. }