roleId = (string) $roleId; } /** * Defined by RoleInterface; returns the Role identifier * * @return string */ public function getRoleId() { return $this->roleId; } /** * Defined by RoleInterface; returns the Role identifier * Proxies to getRoleId() * * @return string */ public function __toString() { return $this->getRoleId(); } }