Dispatcher::setModelBinding

public setModelBinding (boolean $value) Enable/Disable model binding during dispatch

DispatcherInterface::setActionName

abstract public setActionName (mixed $actionName) ...

Micro Applications

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 implement small applications, APIs and prototypes in a practical way. use Phalcon\Mvc\Micro; $app = new Micro(); $app->get( "/say/welcome/{name}", function ($name) { echo "<h1>Welcome $name!</h1>"; } ); $app->handle(); Creating a Micro Application Phalcon\Mvc\Micro

Mvc\View::setTemplateBefore

public setTemplateBefore (mixed $templateBefore) Sets a template before the controller layout

Db\Adapter::getRealSQLStatement

public getRealSQLStatement () Active SQL statement in the object without replace bound paramters

Mvc\Application::useImplicitView

public useImplicitView (mixed $implicitView) By default. The view is implicitly buffering all the output You can full disable the view component using this method

Unit testing

Writing proper tests can assist in writing better software. If you set up proper test cases you can eliminate most functional bugs and better maintain your software. Integrating PHPunit with phalcon If you don’t already have phpunit installed, you can do it by using the following composer command: composer require phpunit/phpunit or by manually adding it to composer.json: { "require-dev": { "phpunit/phpunit": "~4.5" } } Once phpunit is installed create a directory called ‘test

Translate\Interpolator\IndexedArray::replacePlaceholders

public replacePlaceholders (mixed $translation, [mixed $placeholders]) Replaces placeholders by the values passed

Image\Adapter\Gd::check

public static check () ...

Logger\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin