@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Alchemy\PhraseanetBundle\DependencyInjection\Builder; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\Cache\ArrayCache; |
| 6 | -use Doctrine\Common\Cache\FileCache; |
|
| 7 | 6 | use Doctrine\Common\Cache\MemcachedCache; |
| 8 | 7 | use Doctrine\Common\Cache\PhpFileCache; |
| 9 | 8 | use Doctrine\Common\Cache\RedisCache; |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use ProxyManager\Configuration; |
| 8 | 8 | use ProxyManager\Factory\LazyLoadingValueHolderFactory; |
| 9 | 9 | use ProxyManager\Proxy\LazyLoadingInterface; |
| 10 | -use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
|
| 11 | 10 | |
| 12 | 11 | class EntityManagerFactory |
| 13 | 12 | { |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | 79 | * @param $name |
| 80 | - * @return \PhraseanetSDK\AbstractRepository |
|
| 80 | + * @return \ProxyManager\Proxy\VirtualProxyInterface |
|
| 81 | 81 | */ |
| 82 | 82 | public function getRepository($name) |
| 83 | 83 | { |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | /** |
| 110 | 110 | * Builds the options array used to build SDK entity managers |
| 111 | 111 | * |
| 112 | - * @return array |
|
| 112 | + * @return string |
|
| 113 | 113 | */ |
| 114 | 114 | private function getOptions() |
| 115 | 115 | { |
@@ -10,6 +10,9 @@ |
||
| 10 | 10 | |
| 11 | 11 | private $rootName; |
| 12 | 12 | |
| 13 | + /** |
|
| 14 | + * @param string $rootName |
|
| 15 | + */ |
|
| 13 | 16 | public function __construct($rootName) |
| 14 | 17 | { |
| 15 | 18 | $this->rootName = $rootName; |