Application

extends abstract class Phalcon\Di\Injectable implements Phalcon\Events\EventsAwareInterface, Phalcon\Di\InjectionAwareInterface Source on GitHub Base class for Phalcon\Cli\Console and Phalcon\Mvc\Application. Methods public __construct ([Phalcon\DiInterface $dependencyInjector]) public setEventsManager (Phalcon\Events\ManagerInterface $eventsManager) Sets the events manager public getEventsManager () Returns the internal event manager public registerModules (array $modules, [mixed $merge]) Regi

Apache Installation Notes

Apache is a popular and well known web server available on many platforms. Configuring Apache for Phalcon The following are potential configurations you can use to setup Apache with Phalcon. These notes are primarily focused on the configuration of the mod_rewrite module allowing to use friendly URLs and the router component. Commonly an application has the following structure: test/ app/ controllers/ models/ views/ public/ css/ img/ js/ index.php Directory unde

Annotations\Reflection::__set_state

public static array data __set_state (mixed $data) Restores the state of a Phalcon\Annotations\Reflection variable export

Annotations\Reflection::getReflectionData

public array getReflectionData () Returns the raw parsing intermediate definitions used to construct the reflection

Annotations\Reflection::getPropertiesAnnotations

public getPropertiesAnnotations () Returns the annotations found in the properties’ docblocks

Annotations\Reflection::getMethodsAnnotations

public getMethodsAnnotations () Returns the annotations found in the methods’ docblocks

Annotations\Reflection::getClassAnnotations

public getClassAnnotations () Returns the annotations found in the class docblock

Annotations\Reflection

Source on GitHub Allows to manipulate the annotations reflection in an OO manner use Phalcon\Annotations\Reader; use Phalcon\Annotations\Reflection; // Parse the annotations in a class $reader = new Reader(); $parsing = reader->parse('MyComponent'); // Create the reflection $reflection = new Reflection($parsing); // Get the annotations in the class docblock $classAnnotations = reflection->getClassAnnotations(); Methods public __construct ([array $reflectionData]) Phalcon\Annot

Annotations\ReaderInterface::parseDocBlock

abstract public static parseDocBlock (mixed $docBlock, [mixed $file], [mixed $line]) ...

Annotations\ReaderInterface::parse

abstract public parse (mixed $className) ...