private userAborts ( string $filepath ) : boolean | ||
$filepath | string | |
return | boolean |
private function userAborts($filepath)
{
$message = sprintf('File "%s" already exists. Overwrite?', basename($filepath));
return !$this->io->askConfirmation($message, false);
}