Browse Source

Fix casing of method name.

Mark S 9 years ago
parent
commit
2ad2b21cdd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/View/View.php

+ 2 - 2
src/View/View.php

@@ -486,7 +486,7 @@ class View implements EventDispatcherInterface
             $options['cache'] = $this->_elementCache($name, $data, $options);
         }
 
-        $file = $this->_getElementFilename($name);
+        $file = $this->_getElementFileName($name);
         if ($file && $options['cache']) {
             return $this->cache(function () use ($file, $data, $options) {
                 echo $this->_renderElement($file, $data, $options);
@@ -547,7 +547,7 @@ class View implements EventDispatcherInterface
      */
     public function elementExists($name)
     {
-        return (bool)$this->_getElementFilename($name);
+        return (bool)$this->_getElementFileName($name);
     }
 
     /**