original_string: public function only($method)
      {
          if (!is_array($method)) {
              $method = [ $method ];
          }
  
          $this->only += $method;
  
          return $this;
      }
code: public function only($method)
      {
          if (!is_array($method)) {
              $method = [ $method ];
          }
  
          $this->only += $method;
  
          return $this;
      }
code_tokens: public function only ( $ method ) { if ( ! is_array ( $ method ) ) { $ method = [ $ method ] ; } $ this -> only += $ method ; return $ this ; }
docstring: Specify the methods that the middleware applies to
  
  @param  string|array $method
  @return Rareloop\Router\ControllerMiddlewareOptions
docstring_tokens: Specify the methods that the middleware applies to