Heystack\Core\Processor\HandlerInterface
The interface that handlers both Output and Input need to implement
Used in combination with HandlerTrait
Synopsis
interface HandlerInterface
{
- // methods
- public mixed getProcessor()
- public boolean hasProcessor()
- public array getProcessors()
- public void setProcessors()
Methods
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