PHP Class Newscoop\Services\CommentNotificationService

Exibir arquivo Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$commentService Newscoop\Services\CommentService
$em Doctrine\ORM\EntityManager
$emailService Newscoop\Services\EmailService
$userService Newscoop\Services\UserService

Public Methods

Method Description
__construct ( EmailService $emailService, CommentService $commentService, UserService $userService, EntityManager $em )
update ( GenericEvent $event ) : void Update

Method Details

__construct() public method

public __construct ( EmailService $emailService, CommentService $commentService, UserService $userService, EntityManager $em )
$emailService EmailService
$commentService CommentService
$userService UserService
$em Doctrine\ORM\EntityManager

update() public method

Update
public update ( GenericEvent $event ) : void
$event Newscoop\EventDispatcher\Events\GenericEvent
return void

Property Details

$commentService protected_oe property

protected Newscoop\Services\CommentService $commentService
return Newscoop\Services\CommentService

$em protected_oe property

protected Doctrine\ORM\EntityManager $em
return Doctrine\ORM\EntityManager

$emailService protected_oe property

protected Newscoop\Services\EmailService $emailService
return Newscoop\Services\EmailService

$userService protected_oe property

protected Newscoop\Services\UserService $userService
return Newscoop\Services\UserService