Mvc\Micro::getHandlers

public array getHandlers () Returns the internal handlers attached to the application

Mvc\Micro::getActiveHandler

public callable getActiveHandler () Return the handler that will be called for the matched route

Mvc\Micro::get

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

Mvc\Micro::finish

public Phalcon\Mvc\Micro finish (callable $handler) Appends a ‘finish’ middleware to be called when the request is finished

Mvc\Micro::error

public Phalcon\Mvc\Micro error (callable $handler) Sets a handler that will be called when an exception is thrown handling the route

Mvc\Micro::delete

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

Mvc\Micro::before

public Phalcon\Mvc\Micro before (callable $handler) Appends a before middleware to be called before execute the route

Mvc\Micro::after

public Phalcon\Mvc\Micro after (callable $handler) Appends an ‘after’ middleware to be called after execute the route

Mvc\Micro

extends abstract class Phalcon\Di\Injectable implements Phalcon\Events\EventsAwareInterface, Phalcon\Di\InjectionAwareInterface, ArrayAccess Source on GitHub With Phalcon you can create “Micro-Framework like” applications. By doing this, you only need to write a minimal amount of code to create a PHP application. Micro applications are suitable to small applications, APIs and prototypes in a practical way. $app = new \Phalcon\Mvc\Micro(); $app->get('/say/welcome/{name}', function ($name) {

Mvc\EntityInterface::writeAttribute

abstract public writeAttribute (mixed $attribute, mixed $value) ...