made splitTemplateName() public
This commit is contained in:
parent
d7c83571ff
commit
2f4c9a32e9
@ -284,7 +284,7 @@ class Engine
|
||||
$renderer->setEngine($this);
|
||||
}
|
||||
|
||||
protected function splitTemplateName($name)
|
||||
public function splitTemplateName($name)
|
||||
{
|
||||
if (false !== $pos = strpos($name, ':')) {
|
||||
$renderer = substr($name, $pos + 1);
|
||||
|
@ -119,7 +119,7 @@ class Engine extends BaseEngine
|
||||
}
|
||||
|
||||
// Bundle:controller:action(:renderer)
|
||||
protected function splitTemplateName($name)
|
||||
public function splitTemplateName($name)
|
||||
{
|
||||
$parts = explode(':', $name, 4);
|
||||
|
||||
|
Reference in New Issue
Block a user