Skip to content

Commit 000e2c9

Browse files
author
Josh Lockhart
committed
Merge branch 'feature-twigview'
2 parents 56d295a + 149d8f3 commit 000e2c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Views/TwigView.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function render( $template ) {
7575
*
7676
* @return TwigEnvironment
7777
*/
78-
private function getEnvironment() {
78+
public function getEnvironment() {
7979
if ( !$this->twigEnvironment ) {
8080
require_once self::$twigDirectory . '/Autoloader.php';
8181
Twig_Autoloader::register();
@@ -89,4 +89,4 @@ private function getEnvironment() {
8989
}
9090
}
9191

92-
?>
92+
?>

0 commit comments

Comments
 (0)