Skip to content

Module

This class allows to access services in the services container by just only accessing a public property with the same name of a registered service

Methods

beforeForward

public beforeForward(\Phalcon\Events\Event $event, \Phalcon\Dispatcher\DispatcherInterface $dispatcher, array $forward): void

Parameters:

Parameter Type Description
$event \Phalcon\Events\Event
$dispatcher \Phalcon\Dispatcher\DispatcherInterface
$forward array