diff --git a/src/View/View.php b/src/View/View.php index bf56f345de4..4500f19ff1d 100644 --- a/src/View/View.php +++ b/src/View/View.php @@ -126,7 +126,7 @@ class View implements EventDispatcherInterface /** * The name of the template file to render. The name specified - * is the filename in /app/Template/ without the .ctp extension. + * is the filename in /src/Template/ without the .ctp extension. * * @var string */ @@ -134,7 +134,7 @@ class View implements EventDispatcherInterface /** * The name of the layout file to render the template inside of. The name specified - * is the filename of the layout in /app/Template/Layout without the .ctp + * is the filename of the layout in /src/Template/Layout without the .ctp * extension. * * @var string @@ -423,7 +423,7 @@ public function theme($theme = null) /** * Get/set the name of the template file to render. The name specified is the - * filename in /app/Template/ without the .ctp extension. + * filename in /src/Template/ without the .ctp extension. * * @param string $name Template file name to set. If null returns current name. * @return string|null @@ -439,7 +439,7 @@ public function template($name = null) /** * Get/set the name of the layout file to render the template inside of. - * The name specified is the filename of the layout in /app/Template/Layout + * The name specified is the filename of the layout in /src/Template/Layout * without the .ctp extension. * * @param string $name Layout file name to set. If null returns current name. @@ -460,7 +460,7 @@ public function layout($name = null) * This realizes the concept of Elements, (or "partial layouts") and the $params array is used to send * data to be used in the element. Elements can be cached improving performance by using the `cache` option. * - * @param string $name Name of template file in the/app/Template/Element/ folder, + * @param string $name Name of template file in the /src/Template/Element/ folder, * or `MyPlugin.template` to use the template element from MyPlugin. If the element * is not found in the plugin, the normal view path cascade will be searched. * @param array $data Array of data to be made available to the rendered view (i.e. the Element) @@ -536,7 +536,7 @@ public function cache(callable $block, array $options = []) /** * Checks if an element exists * - * @param string $name Name of template file in the /app/Template/Element/ folder, + * @param string $name Name of template file in the /src/Template/Element/ folder, * or `MyPlugin.template` to check the template element from MyPlugin. If the element * is not found in the plugin, the normal view path cascade will be searched. * @return bool Success