/** * Is client has status client * * @return bool */ public function hasStatusClient() { if ($this->hasRole('ROLE_CLIENT')) { return $this->profile->hasStatusClient(); } return false; }
/** * Is client has status client * * @return bool */ public function hasStatusClient() { if ($this->hasRole('ROLE_CLIENT')) { return $this->profile->hasStatusClient(); } return false; }