PHP Class Newscoop\Services\UserAttributeService

Show file Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$em Doctrine\ORM\EntityManager

Public Methods

Method Description
__construct ( EntityManager $em )
removeAttributes ( User $user, array $attributes ) : void Remove user attributes
update ( GenericEvent $event ) : void Receives notifications of points events.

Method Details

__construct() public method

public __construct ( EntityManager $em )
$em Doctrine\ORM\EntityManager

removeAttributes() public method

Remove user attributes
public removeAttributes ( User $user, array $attributes ) : void
$user Newscoop\Entity\User
$attributes array
return void

update() public method

Receives notifications of points events.
public update ( GenericEvent $event ) : void
$event Newscoop\EventDispatcher\Events\GenericEvent
return void

Property Details

$em protected property

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