Mvc\Micro\CollectionInterface::delete

abstract public delete (mixed $routePattern, mixed $handler, [mixed $name]) ...

Mvc\Micro\CollectionInterface

Source on GitHub Methods abstract public setPrefix (mixed $prefix) ... abstract public getPrefix () ... abstract public getHandlers () ... abstract public setHandler (mixed $handler, [mixed $lazy]) ... abstract public setLazy (mixed $lazy) ... abstract public isLazy () ... abstract public getHandler () ... abstract public map (mixed $routePattern, mixed $handler, [mixed $name]) ... abstract public get (mixed $routePattern, mixed $handler, [mixed $name]) ... abstract public post (mixed $routePat

Mvc\Micro\Collection::setPrefix

public setPrefix (mixed $prefix) Sets a prefix for all routes added to the collection

Mvc\Micro\Collection::setLazy

public setLazy (mixed $lazy) Sets if the main handler must be lazy loaded

Mvc\Micro\Collection::setHandler

public Phalcon\Mvc\Micro\Collection setHandler (mixed $handler, [boolean $lazy]) Sets the main handler

Mvc\Micro\Collection::put

public Phalcon\Mvc\Micro\Collection put (string $routePattern, callable $handler, [string $name]) Maps a route to a handler that only matches if the HTTP method is PUT

Mvc\Micro\Collection::post

public Phalcon\Mvc\Micro\Collection post (string $routePattern, callable $handler, [string $name]) Maps a route to a handler that only matches if the HTTP method is POST

Mvc\Micro\Collection::patch

public Phalcon\Mvc\Micro\Collection patch (string $routePattern, callable $handler, [string $name]) Maps a route to a handler that only matches if the HTTP method is PATCH

Mvc\Micro\Collection::options

public Phalcon\Mvc\Micro\Collection options (string $routePattern, callable $handler, [mixed $name]) Maps a route to a handler that only matches if the HTTP method is OPTIONS

Mvc\Micro\Collection::map

public Phalcon\Mvc\Micro\Collection map (string $routePattern, callable $handler, [string $name]) Maps a route to a handler