Commit 9f5367f3 authored by Taylor Otwell's avatar Taylor Otwell

Improving view class comments.

parent ef2d2d85
...@@ -95,6 +95,9 @@ class View { ...@@ -95,6 +95,9 @@ class View {
// We include the view into the local scope within a // We include the view into the local scope within a
// try / catch block to catch any exceptions that may // try / catch block to catch any exceptions that may
// occur while the view is rendering. // occur while the view is rendering.
//
// Otherwise, a white screen of death will be shown
// when an exception occurs while rendering the view.
// ----------------------------------------------------- // -----------------------------------------------------
try try
{ {
...@@ -111,9 +114,8 @@ class View { ...@@ -111,9 +114,8 @@ class View {
/** /**
* Get the full path to the view. * Get the full path to the view.
* *
* Views are cascaded, so the application directory views * Views are cascaded, so the application directory views will take
* will take precedence over the system directory's views * precedence over system directory views of the same name.
* of the same name.
* *
* @return string * @return string
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment