public function addRole($role) { !$role instanceof Role && ($role = new Role($role)); $role->addUser($this, false); $this->roles->add($role); return $this; }