Newscoop\ArticlesBundle\EventListener\HookListener::__construct PHP Method

__construct() public method

Construct
public __construct ( EntityManager $em, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, $clientManager, $preferencesService, $publicationService )
$em Doctrine\ORM\EntityManager Entity manager
$templating Symfony\Bundle\FrameworkBundle\Templating\EngineInterface Templating
    public function __construct(EntityManager $em, EngineInterface $templating, $clientManager, $preferencesService, $publicationService)
    {
        $this->em = $em;
        $this->templating = $templating;
        $this->clientManager = $clientManager;
        $this->preferencesService = $preferencesService;
        $this->publicationService = $publicationService;
    }