File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 19
19
use Doctrine \ODM \PHPCR \DocumentManager ;
20
20
use Symfony \Component \DependencyInjection \ContainerInterface ;
21
21
use Doctrine \Common \DataFixtures \ProxyReferenceRepository ;
22
+ use Doctrine \Common \Persistence \ManagerRegistry ;
22
23
23
24
class PHPCR
24
25
{
@@ -41,7 +42,7 @@ public function __construct(ContainerInterface $container)
41
42
/**
42
43
* Return the PHPCR ODM registry
43
44
*
44
- * @return Symfony\Bridge\Doctrine\RegistryInterface
45
+ * @return ManagerRegistry
45
46
*/
46
47
public function getRegistry ()
47
48
{
@@ -68,7 +69,6 @@ public function getOm($managerName = null)
68
69
*/
69
70
public function purgeRepository ($ initialize = false )
70
71
{
71
- $ purger = new PHPCRPurger ();
72
72
$ this ->getExecutor ($ initialize )->purge ();
73
73
}
74
74
You can’t perform that action at this time.
0 commit comments