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

@param $path
@param string $handlerMethod

@return ApiEndpoint
Returns pre - configured GET endpoint