Commit 366f8dad authored by Taylor Otwell's avatar Taylor Otwell

refactoring the view class.

parent f0db808f
...@@ -195,7 +195,10 @@ class View { ...@@ -195,7 +195,10 @@ class View {
foreach ($this->data as &$data) foreach ($this->data as &$data)
{ {
if ($data instanceof View or $data instanceof Response) $data = (string) $data; if ($data instanceof View or $data instanceof Response)
{
$data = (string) $data;
}
} }
extract($this->data, EXTR_SKIP); extract($this->data, EXTR_SKIP);
......
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