public function __construct(Repository $config) { $this->config = $config; $app = app(); $this->version = substr($app::VERSION, 0, 1); }