original_string: public function visible(array $roles = []) : bool
      {
          if (empty($roles)) {
              return true;
          }
  
          $roles = array_column($roles, 'slug');
  
          return $this->inRoles($roles) || $this->isAdministrator();
      }
code: public function visible(array $roles = []) : bool
      {
          if (empty($roles)) {
              return true;
          }
  
          $roles = array_column($roles, 'slug');
  
          return $this->inRoles($roles) || $this->isAdministrator();
      }
code_tokens: public function visible ( array $ roles = [ ] ) : bool { if ( empty ( $ roles ) ) { return true ; } $ roles = array_column ( $ roles , 'slug' ) ; return $ this -> inRoles ( $ roles ) || $ this -> isAdministrator ( ) ; }
docstring: If visible for roles.
  
  @param $roles
  
  @return bool
docstring_tokens: If visible for roles .