Filters.php
<?php
namespace Tlf\Scrawl\Utility;
/**
* A set of functions that receive an input string, modify it, and output the modified string.
*
* The function name is the filter name, to be used like `@ast(...path..., ast/default, trim)`
*
*/
class Filters {
static public function trim(string $input): string {
return trim($input);
}
}