ice framework documentation ice doc v1.6.2
Methods
  • addRoute(variable $httpMethod, variable $routeData, variable $handler) : void
    Adds a route to the data generator. The route data uses the
  • getData() : void
    Returns dispatcher data in some unspecified format, which
Methods Details
  • public function addRoute(variable $httpMethod, variable $routeData, variable $handler)

    Adds a route to the data generator. The route data uses the
    same format that is returned by RouterParser::parser(). The handler doesn't necessarily need to be a callable, it can be arbitrary data that will be returned when the route matches.
  • public function getData()

    Returns dispatcher data in some unspecified format, which
    depends on the used method of dispatch.