- Token name and options are now passed through parse() method
This commit is contained in:
1 parent
77d05ae051
commit
aba66479be
12 files changed
+114
-150
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ class Form implements Extension, FunctionExtension {
|
||||
$this->request = $request;
|
||||
}
|
||||
|
||||
public function parse(\Picea\Compiler\Context &$context, ?string $arguments, string $token) : string { }
|
||||
public function parse(\Picea\Compiler\Context &$context, ?string $arguments, string $token, array $options = []) : string { }
|
||||
|
||||
public function exportFunctions(): array
|
||||
{
|
||||
|
||||
@@ -23,7 +23,7 @@ class Pagination implements Extension, FunctionExtension {
|
||||
$this->request = $request;
|
||||
}
|
||||
|
||||
public function parse(\Picea\Compiler\Context &$context, ?string $arguments, string $token) : string { }
|
||||
public function parse(\Picea\Compiler\Context &$context, ?string $arguments, string $token, array $options = []) : string { }
|
||||
|
||||
|
||||
public function exportFunctions(): array
|
||||
|
||||
Reference in new issue
Block a user