Source of file HandlerInterface.php
Size: 0,953 Bytes - Last Modified: 2021-12-24T06:51:36+00:00
/var/www/docs.ssmods.com/process/src/src/Output/HandlerInterface.php
123456789101112131415161718192021222324252627282930 | <?php namespace Heystack\Core\Output; use Heystack\Core\Processor\HandlerInterface as ProcessorHandlerInterface; /** * Interface HandlerInterface * @package Heystack\Core\Output */ interface HandlerInterface extends ProcessorHandlerInterface { /** * Adds an output processor to the array of processors, storing it by its identifier * @param \Heystack\Core\Output\ProcessorInterface $processor The input processor * @return void */ public function addProcessor(ProcessorInterface $processor); /** * Process an output processor by identifier if it exists * @param string $identifier The identifier of the processor to run * @param \Controller $controller The controller that handled the request * @param mixed $result The result from the run input processor * @return mixed|null */ public function process($identifier, \Controller $controller, $result = null); } |