ResourceRegistrar (Routing)

ResourceRegistrar

class ResourceRegistrar (View source)

Methods

void __construct( Router $router)

Create a new resource registrar instance.

void register( string $name, string $controller, array $options = array())

Route a resource to a controller.

string <