Skip to content

Commit

Permalink
Removing unused PHP driver - should use an XML driver instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed May 28, 2013
1 parent ed6435b commit 33a4e59
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 168 deletions.
7 changes: 0 additions & 7 deletions src/ZfrRest/Factory/ResourceMetadataFactoryFactory.php
Expand Up @@ -30,7 +30,6 @@
use Zend\ServiceManager\ServiceLocatorInterface;
use ZfrRest\Factory\Exception\RuntimeException;
use ZfrRest\Resource\Metadata\Driver\AnnotationDriver;
use ZfrRest\Resource\Metadata\Driver\PhpDriver;
use ZfrRest\Resource\Metadata\Driver\ResourceMetadataDriverInterface;

/**
Expand Down Expand Up @@ -73,12 +72,6 @@ public function createService(ServiceLocatorInterface $serviceLocator)
//AnnotationRegistry::registerAutoloadNamespace('ZfrRest\Resource\Annotation', __DIR__ . '/../..');
$metadataDrivers[] = new AnnotationDriver(new AnnotationReader(), $doctrineMetadataFactory);
break;
case 'ZfrRest\Resource\Metadata\Driver\PhpDriver':
$metadataDrivers[] = new PhpDriver(
new FileLocator($driverOptions['paths']),
$doctrineMetadataFactory
);
break;
default:
throw RuntimeException::invalidDriverClass($driverOptions['class']);
}
Expand Down
161 changes: 0 additions & 161 deletions src/ZfrRest/Resource/Metadata/Driver/PhpDriver.php

This file was deleted.

0 comments on commit 33a4e59

Please sign in to comment.