ソースを参照

Fix casing of method name.

Mark S 9 年 前
コミット
2ad2b21cdd
1 ファイル変更2 行追加2 行削除
  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);
             $options['cache'] = $this->_elementCache($name, $data, $options);
         }
         }
 
 
-        $file = $this->_getElementFilename($name);
+        $file = $this->_getElementFileName($name);
         if ($file && $options['cache']) {
         if ($file && $options['cache']) {
             return $this->cache(function () use ($file, $data, $options) {
             return $this->cache(function () use ($file, $data, $options) {
                 echo $this->_renderElement($file, $data, $options);
                 echo $this->_renderElement($file, $data, $options);
@@ -547,7 +547,7 @@ class View implements EventDispatcherInterface
      */
      */
     public function elementExists($name)
     public function elementExists($name)
     {
     {
-        return (bool)$this->_getElementFilename($name);
+        return (bool)$this->_getElementFileName($name);
     }
     }
 
 
     /**
     /**