PHP Class Newscoop\Services\CommentNotificationService

Show file 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 property

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

$em protected property

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

$emailService protected property

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

$userService protected property

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