public function only($method)
    {
        if (!is_array($method)) {
            $method = [ $method ];
        }

        $this->only += $method;

        return $this;
    }
public function only($method)
    {
        if (!is_array($method)) {
            $method = [ $method ];
        }

        $this->only += $method;

        return $this;
    }
public function only ( $ method ) { if ( ! is_array ( $ method ) ) { $ method = [ $ method ] ; } $ this -> only += $ method ; return $ this ; }
Specify the methods that the middleware applies to

@param  string|array $method
@return Rareloop\Router\ControllerMiddlewareOptions
Specify the methods that the middleware applies to