diff options
Diffstat (limited to 'src/FunctionHandler/AttributeFunctionHandlerInterface.php')
| -rw-r--r-- | src/FunctionHandler/AttributeFunctionHandlerInterface.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/FunctionHandler/AttributeFunctionHandlerInterface.php b/src/FunctionHandler/AttributeFunctionHandlerInterface.php new file mode 100644 index 00000000..f76259ec --- /dev/null +++ b/src/FunctionHandler/AttributeFunctionHandlerInterface.php @@ -0,0 +1,15 @@ +<?php + +namespace Smarty\FunctionHandler; + +/** + * Function handler interface with support for specifying supported properties + */ +interface AttributeFunctionHandlerInterface extends FunctionHandlerInterface +{ + /** + * Returns an array with the supported attributes, flags, and shorttags + * @return array<string, array> + */ + public function getSupportedAttributes(): array; +} |
