Ojs\CoreBundle\Service\DeleteService::__construct PHP Method

__construct() public method

DeleteService constructor.
public __construct ( Symfony\Bridge\Doctrine\RegistryInterface $registry, Doctrine\Common\Annotations\Reader $reader, Symfony\Component\Translation\TranslatorInterface $translator, $rootDir, $bundles )
$registry Symfony\Bridge\Doctrine\RegistryInterface
$reader Doctrine\Common\Annotations\Reader
$translator Symfony\Component\Translation\TranslatorInterface
    public function __construct(RegistryInterface $registry, Reader $reader, TranslatorInterface $translator, $rootDir, $bundles)
    {
        $this->em = $registry->getManager();
        $this->reader = $reader;
        $this->translator = $translator;
        $this->yaml = new Parser();
        $this->rootDir = $rootDir;
        $this->bundles = $bundles;
    }