for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of CaptainHook
*
* (c) Sebastian Feldmann <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace CaptainHook\App\Console\IO;
* Class NullIO
* @package CaptainHook
* @author Sebastian Feldmann <[email protected]>
* @link https://github.com/captainhook-git/captainhook
* @since Class available since Release 0.9.0
class NullIO extends Base
{
* {@inheritDoc}
public function isInteractive()
return false;
}
public function isVerbose()
public function isVeryVerbose()
public function isDebug()
public function write($messages, $newline = true, $verbosity = self::NORMAL)
public function writeError($messages, $newline = true, $verbosity = self::NORMAL)
public function ask($question, $default = null)
return (string) $default;
public function askConfirmation($question, $default = true)
return $default;
public function askAndValidate($question, $validator, $attempts = null, $default = null)