for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Germania\UserRoles;
trait RolesAwareTrait
{
/**
* @var array
*/
public $roles = array();
* @param array $roles Role IDs
* @return self Fluid Interface
* @implements RolesAwareInterface
public function setRoles( array $roles )
$this->roles = $roles;
return $this;
}
* @return array
public function getRoles()
return $this->roles;