/** * Get the current HTTP path info. * * @return string * @static */ public static function getPathInfo() { return \Laravel\Lumen\Application::getPathInfo(); }
/** * Has a route been registered to this path with an Intent? * * @return bool */ private function isRouteWithIntent() { return parent::getMethod() == "POST" && in_array(parent::getPathInfo(), $this->intentRoutes); }