Skip to content

Commit

Permalink
Compiler: added getMacros()
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 3, 2020
1 parent 99a161d commit e582833
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Latte/Compiler/Compiler.php
Original file line number Diff line number Diff line change
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 e582833

Please sign in to comment.