isset

$startDate = '2023-07-01';
$endDate = '2023-07-02';
$this->line($startDate . '~' . $endDate);