public function __construct(LaravelConfiguration $config, Application $app) { parent::__construct($config); $this->app = $app; $this->complementer = $config->getComplementer(); $this->useForkingLoop = $config->getLoop() instanceof ForkingLoop; foreach ($this->getDefaultContributors() as $contributor) { $this->contribute($contributor); } }
public function __construct(Configuration $config = null) { parent::__construct($config); $this->addCommands($this->getDefaultCommands()); }