Skip to content

Commit

Permalink
[latte] Compiler: added getMacros()
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 3, 2020
1 parent 144478b commit 14448d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions latte/src/Latte/Compiler/Compiler.php
Expand Up @@ -220,6 +220,12 @@ public function getMacroNode(): ?MacroNode
}


public function getMacros(): array
{
return $this->macros;
}


public function getFunctions(): array
{
return $this->functions;
Expand Down

0 comments on commit 14448d7

Please sign in to comment.