for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PhpSchool\Terminal\Exception;
/**
* @author Aydin Hassan <[email protected]>
*/
class NotInteractiveTerminal extends \RuntimeException
{
public static function inputNotInteractive() : self
return new self('Input stream is not interactive (non TTY)');
}
public static function outputNotInteractive() : self
return new self('Output stream is not interactive (non TTY)');