Kaynağa Gözat

[Templating] fixed phpdoc

Fabien Potencier 14 yıl önce
ebeveyn
işleme
dd9e7367ef
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 4 2
      src/Symfony/Component/Templating/Engine.php

+ 4 - 2
src/Symfony/Component/Templating/Engine.php

@@ -143,11 +143,13 @@ class Engine implements \ArrayAccess
     }
 
     /**
-     * Returns true if the template exists.
+     * Loads the given template.
      *
      * @param string $name A template name
      *
-     * @return Boolean true if the template exists, false otherwise
+     * @return Storage A Storage instance
+     *
+     * @throws \InvalidArgumentException if the template cannot be found
      */
     public function load($name)
     {