Browse files

Change the scope of ModuleCompiler->functionName to protected.

This is related to
schmittjoh/JMSTwigJsBundle#25. To be able to
output AMD compatible templates, I extended the `ModuleCompiler` (see,
but to do so I need the access the `functionName` property in the child
  • Loading branch information...
1 parent d33425a commit 383c8a83f200890a08131e1187f6ec6c4e28267a @kimlai kimlai committed with Feb 2, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/TwigJs/Compiler/ModuleCompiler.php
@@ -23,7 +23,7 @@
class ModuleCompiler implements TypeCompilerInterface
- private $functionName;
+ protected $functionName;
private $constantParent;
public function getType()

0 comments on commit 383c8a8

Please sign in to comment.