Skip to content

Commit e9cc574

Browse files
xificurkdg
authored andcommitted
VariableTemplate: add getParameters() method to improve back compatibility (#135)
1 parent 820414f commit e9cc574

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Bridges/ApplicationLatte/VariableTemplate.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,14 @@ public function __unset($name)
7878
unset($this->template->params[$name]);
7979
}
8080

81+
82+
/**
83+
* Returns array of all parameters.
84+
* @return array
85+
*/
86+
public function getParameters()
87+
{
88+
return $this->template->getParameters();
89+
}
90+
8191
}

0 commit comments

Comments
 (0)