\Vegas\Mvc\Router\RouteRestRoute

Class RestRoute REST route type, useful for building RESTful API

Summary

Methods
Properties
Constants
add()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

add()

add(\Phalcon\Mvc\RouterInterface $router, \Vegas\Mvc\Router\Route $route) : mixed

Methods adds new Route definition to indicated Router

Parameters

\Phalcon\Mvc\RouterInterface $router
\Vegas\Mvc\Router\Route $route

Returns

mixed