Commit 5b7a4621 authored by Taylor Otwell's avatar Taylor Otwell

Composers should not be loaded every time a new view is created.

parent 80063bbf
......@@ -183,6 +183,8 @@ class View {
*/
protected static function composers()
{
if ( ! is_null(static::$composers)) return;
static::$composers = require APP_PATH.'composers'.EXT;
}
......
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