]> Raphaël G. Git Repositories - packbundle/blob - Filter/FilterInterface.php
Remove getAlias member function
[packbundle] / Filter / FilterInterface.php
1 <?php declare(strict_types=1);
2
3 /*
4 * This file is part of the Rapsys PackBundle package.
5 *
6 * (c) Raphaël Gertz <symfony@rapsys.eu>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Rapsys\PackBundle\Filter;
13
14 /**
15 * Filter interface definition
16 *
17 * @todo do we need something else ? (like a constructor that read parameters or else)
18 */
19 interface FilterInterface {
20 /**
21 * Process function
22 *
23 * @param string $content The content to process
24 * @return string The processed content
25 */
26 public function process(string $content): string;
27 }