예제 #1
0
파일: User.php 프로젝트: junjinZ/wealthbot
 /**
  * Is client has status client
  *
  * @return bool
  */
 public function hasStatusClient()
 {
     if ($this->hasRole('ROLE_CLIENT')) {
         return $this->profile->hasStatusClient();
     }
     return false;
 }