protected function confirmOverwrite(array $files = [])
    {
        if (!$files || $this->option('overwrite')) {
            return true;
        }
        $files = implode("\n - ", $files);
        return $this->confirm(
            "Are you sure you want to overwrite the following files?\n<comment> - {$files}</comment>\n\n"
        );
    }
protected function confirmOverwrite(array $files = [])
    {
        if (!$files || $this->option('overwrite')) {
            return true;
        }
        $files = implode("\n - ", $files);
        return $this->confirm(
            "Are you sure you want to overwrite the following files?\n<comment> - {$files}</comment>\n\n"
        );
    }
protected function confirmOverwrite ( array $ files = [ ] ) { if ( ! $ files || $ this -> option ( 'overwrite' ) ) { return true ; } $ files = implode ( "\n - " , $ files ) ; return $ this -> confirm ( "Are you sure you want to overwrite the following files?\n<comment> - {$files}</comment>\n\n" ) ; }
Confirm overwriting files

@return bool
Confirm overwriting files