/** * Get client status * * @return int * @throws \RuntimeException */ public function getClientStatus() { if (!$this->hasRole("ROLE_CLIENT")) { throw new \RuntimeException('User dose not have role: ROLE_CLIENT'); } return $this->profile->getClientStatus(); }
public function getClientStatus() { return $this->profile->getClientStatus(); }