| ... | ... |
@@ -72,7 +72,7 @@ class View{
|
| 72 | 72 |
} |
| 73 | 73 |
|
| 74 | 74 |
public function render(){
|
| 75 |
- if ($viewEngineClass = $this->_L3->viewEngines::get($this->viewFileExtension)){
|
|
| 75 |
+ if ($viewEngineClass = $this->_L3->viewEngines->get($this->viewFileExtension)){
|
|
| 76 | 76 |
$view = new $viewEngineClass(); |
| 77 | 77 |
return $view->render($this->viewFile, $this->context); |
| 78 | 78 |
} |