Newscoop\Services\CommentNotificationService::__construct PHP Метод

__construct() публичный Метод

public __construct ( EmailService $emailService, CommentService $commentService, UserService $userService, EntityManager $em )
$emailService EmailService
$commentService CommentService
$userService UserService
$em Doctrine\ORM\EntityManager
    public function __construct(EmailService $emailService, CommentService $commentService, UserService $userService, EntityManager $em)
    {
        $this->emailService = $emailService;
        $this->commentService = $commentService;
        $this->userService = $userService;
        $this->em = $em;
    }
CommentNotificationService