Skip to content

Commit

Permalink
Merge 33a4e59 into ed6435b
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed May 28, 2013
2 parents ed6435b + 33a4e59 commit afe508c
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
Original file line number Diff line number Diff line change
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 afe508c

Please sign in to comment.