Rename FOQ namespaces and services to FOS
This commit is contained in:
parent
4e11e20071
commit
3fb9aaa56a
76 changed files with 352 additions and 352 deletions
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace FOQ\ElasticaBundle\Manager;
|
||||
namespace FOS\ElasticaBundle\Manager;
|
||||
|
||||
use Doctrine\Common\Annotations\Reader;
|
||||
use FOQ\ElasticaBundle\Finder\FinderInterface;
|
||||
use FOS\ElasticaBundle\Finder\FinderInterface;
|
||||
use RuntimeException;
|
||||
/**
|
||||
* @author Richard Miller <info@limethinking.co.uk>
|
||||
|
|
@ -58,14 +58,14 @@ class RepositoryManager implements RepositoryManagerInterface
|
|||
}
|
||||
|
||||
$refClass = new \ReflectionClass($entityName);
|
||||
$annotation = $this->reader->getClassAnnotation($refClass, 'FOQ\\ElasticaBundle\\Configuration\\Search');
|
||||
$annotation = $this->reader->getClassAnnotation($refClass, 'FOS\\ElasticaBundle\\Configuration\\Search');
|
||||
if ($annotation) {
|
||||
$this->entities[$entityName]['repositoryName']
|
||||
= $annotation->repositoryClass;
|
||||
return $annotation->repositoryClass;
|
||||
}
|
||||
|
||||
return 'FOQ\ElasticaBundle\Repository';
|
||||
return 'FOS\ElasticaBundle\Repository';
|
||||
}
|
||||
|
||||
private function createRepository($entityName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue