original_string: public function excludedForMethod($method) : bool
      {
          if (empty($this->only) && empty($this->except)) {
              return false;
          }
  
          return (!empty($this->only) && !in_array($method, $this->only)) ||
              (!empty($this->except) && in_array($method, $this->except));
      }
code: public function excludedForMethod($method) : bool
      {
          if (empty($this->only) && empty($this->except)) {
              return false;
          }
  
          return (!empty($this->only) && !in_array($method, $this->only)) ||
              (!empty($this->except) && in_array($method, $this->except));
      }
code_tokens: public function excludedForMethod ( $ method ) : bool { if ( empty ( $ this -> only ) && empty ( $ this -> except ) ) { return false ; } return ( ! empty ( $ this -> only ) && ! in_array ( $ method , $ this -> only ) ) || ( ! empty ( $ this -> except ) && in_array ( $ method , $ this -> except ) ) ; }
docstring: Is a specific method excluded by the options set on this object
  
  @param  string $method
  @return bool
docstring_tokens: Is a specific method excluded by the options set on this object