public static function create(string $reason) : InvalidCommand { return new static($reason); }
protected function guardAgainstInvalidOptions() { if ($this->option('only-db') && $this->option('only-files')) { throw InvalidCommand::create('Cannot use `only-db` and `only-files` together'); } }