/** * @return int */ public function getUserRoleId() { return null != $this->user ? (int) $this->user->getRoleId() : KENDO_DEFAULT_ROLE_ID; }