Heystack\Core\Output\HandlerInterface
Interface HandlerInterface
Synopsis
interface HandlerInterface
extends HandlerInterface
{
- // methods
- public void addProcessor()
- public mixed|null process()
- // Inherited methods from HandlerInterface
- public mixed getProcessor()
- public boolean hasProcessor()
- public array getProcessors()
- public void setProcessors()
Hierarchy
Methods
public
- addProcessor() — Adds an output processor to the array of processors, storing it by its identifier
- process() — Process an output processor by identifier if it exists
Inherited from Heystack\Core\Processor\HandlerInterface
public
- getProcessor() — Return a processor by an identifier if it exists
- getProcessors() — Return all processors
- hasProcessor() — Check if a processor is on the array
- setProcessors() — Set processors explicitly. This method uses the addProcessor method which should enforce what type of objects can be added to the array