Skip to content

Commit

Permalink
Changed "/app/" to "/src/"
Browse files Browse the repository at this point in the history
  • Loading branch information
saeideng committed Jan 22, 2016
1 parent 7fe3621 commit 697e1fd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/View/View.php
Expand Up @@ -126,15 +126,15 @@ class View implements EventDispatcherInterface

/**
* The name of the template file to render. The name specified
* is the filename in /app/Template/<SubFolder> without the .ctp extension.
* is the filename in /src/Template/<SubFolder> without the .ctp extension.
*
* @var string
*/
public $template = null;

/**
* 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
Expand Down Expand Up @@ -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/<SubFolder> without the .ctp extension.
* filename in /src/Template/<SubFolder> without the .ctp extension.
*
* @param string $name Template file name to set. If null returns current name.
* @return string|null
Expand All @@ -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.
Expand All @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 697e1fd

Please sign in to comment.