X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/packbundle/blobdiff_plain/6bc3a323095049fba5ac8bb2b1a2cef1e82b8df5..5ded2ab01b306f7d8f5168ace047d48fce5d53ab:/Filter/FilterInterface.php diff --git a/Filter/FilterInterface.php b/Filter/FilterInterface.php index 2dc2b6f..f3b2987 100644 --- a/Filter/FilterInterface.php +++ b/Filter/FilterInterface.php @@ -1,9 +1,27 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace Rapsys\PackBundle\Filter; + +/** + * Filter interface definition + * + * @todo do we need something else ? (like a constructor that read parameters or else) + */ interface FilterInterface { - //TODO: see if we need something else (like a constructor that read parameters or something else ?) - public function process($content); + /** + * Process function + * + * @param string $content The content to process + * @return string The processed content + */ + public function process(string $content): string; }