Table Of Contents

Previous topic

< Class Phalcon\Mvc\User\Module

Next topic

Class Phalcon\Mvc\View >

Class Phalcon\Mvc\User\Plugin

extends abstract class Phalcon\DI\Injectable

implements Phalcon\Events\EventsAwareInterface, Phalcon\DI\InjectionAwareInterface

This class can be used to provide user plugins an easy access to services in the application

Methods

public setDI (Phalcon\DiInterface $dependencyInjector) inherited from Phalcon\DI\Injectable

Sets the dependency injector

public Phalcon\DiInterface getDI () inherited from Phalcon\DI\Injectable

Returns the internal dependency injector

public setEventsManager (Phalcon\Events\ManagerInterface $eventsManager) inherited from Phalcon\DI\Injectable

Sets the event manager

public Phalcon\Events\ManagerInterface getEventsManager () inherited from Phalcon\DI\Injectable

Returns the internal event manager

public __get (unknown $property) inherited from Phalcon\DI\Injectable

Magic method __get