Source of file ProcessorInterface.php
Size: 0,762 Bytes - Last Modified: 2021-12-24T06:51:36+00:00
/var/www/docs.ssmods.com/process/src/src/Output/ProcessorInterface.php
1234567891011121314151617181920212223242526272829 | <?php namespace Heystack\Core\Output; /** * Interface for input processors * * Input processors need to implement this interface in order to be added to a processors handler. * @author Cam Spiers <cameron@heyday.co.nz> * @package Heystack */ interface ProcessorInterface { /** * Returns the identifier of the processor * @return \Heystack\Core\Identifier\Identifier */ public function getIdentifier(); /** * Executes the main functionality of the output processor * * @param \Controller $controller The relevant SilverStripe controller * @param mixed $result The result from the input processor * @return void */ public function process(\Controller $controller, $result = null); } |