public static function options($path, $handlerMethod = null)
    {
        return self::factory($path, HttpMethods::OPTIONS, $handlerMethod);
    }
public static function options($path, $handlerMethod = null)
    {
        return self::factory($path, HttpMethods::OPTIONS, $handlerMethod);
    }
public static function options ( $ path , $ handlerMethod = null ) { return self :: factory ( $ path , HttpMethods :: OPTIONS , $ handlerMethod ) ; }
Returns pre-configured OPTIONS endpoint

@param $path
@param string $handlerMethod

@return ApiEndpoint
Returns pre - configured OPTIONS endpoint