for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PhpSchool\CliMenu\Terminal;
use PhpSchool\Terminal\IO\ResourceInputStream;
use PhpSchool\Terminal\IO\ResourceOutputStream;
use PhpSchool\Terminal\Terminal;
use PhpSchool\Terminal\UnixTerminal;
/**
* @author Michael Woodward <[email protected]>
*/
class TerminalFactory
{
public static function fromSystem() : Terminal
return new UnixTerminal(new ResourceInputStream, new ResourceOutputStream);
}