PhpSpec\CodeGenerator\Generator\PromptingGenerator::userAborts PHP Méthode

userAborts() private méthode

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