public function __construct(Application $app = null) { $this->app = $app; $this->basePath = base_path(); }