public function __construct(Repository $config) { $this->namespace = $config->get('laravel-blade-javascript.namespace', 'window'); }