Mvc\Micro::setDI

public setDI (Phalcon\DiInterface $dependencyInjector) Sets the DependencyInjector container

Mvc\Micro::setActiveHandler

public setActiveHandler (callable $activeHandler) Sets externally the handler that must be called by the matched route

Mvc\Micro::put

public Phalcon\Mvc\Router\RouteInterface put (string $routePattern, callable $handler) Maps a route to a handler that only matches if the HTTP method is PUT

Mvc\Micro::post

public Phalcon\Mvc\Router\RouteInterface post (string $routePattern, callable $handler) Maps a route to a handler that only matches if the HTTP method is POST

Mvc\Micro::patch

public Phalcon\Mvc\Router\RouteInterface patch (string $routePattern, callable $handler) Maps a route to a handler that only matches if the HTTP method is PATCH

Mvc\Micro::options

public Phalcon\Mvc\Router\RouteInterface options (string $routePattern, callable $handler) Maps a route to a handler that only matches if the HTTP method is OPTIONS

Mvc\Micro::offsetUnset

public offsetUnset (string $alias) Removes a service from the internal services container using the array syntax

Mvc\Micro::offsetSet

public offsetSet (string $alias, mixed $definition) Allows to register a shared service in the internal services container using the array syntax $app['request'] = new \Phalcon\Http\Request();

Mvc\Micro::offsetGet

public mixed offsetGet (string $alias) Allows to obtain a shared service in the internal services container using the array syntax var_dump($di['request']);

Mvc\Micro::offsetExists

public boolean offsetExists (string $alias) Check if a service is registered in the internal services container using the array syntax