Commit fa1fa876 by Taylor Otwell

Rearranged view methods.

parent c688eef3
......@@ -205,17 +205,6 @@ class View {
}
/**
* Magic Method for handling the dynamic creation of named views.
*/
public static function __callStatic($method, $parameters)
{
if (strpos($method, 'of_') === 0)
{
return static::of(substr($method, 3), $parameters);
}
}
/**
* Get the parsed content of the view.
*
* @return string
......@@ -266,6 +255,17 @@ class View {
}
/**
* Magic Method for handling the dynamic creation of named views.
*/
public static function __callStatic($method, $parameters)
{
if (strpos($method, 'of_') === 0)
{
return static::of(substr($method, 3), $parameters);
}
}
/**
* Magic Method for getting items from the view data.
*/
public function __get($key)
......
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