コード例 #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;
 }