public function __construct($finder = null, $file = null) { $this->finder = $finder ?: \App::make('view')->getFinder(); $this->file = $file ?: \App::make('files'); }