Skip to content

Commit 19ddd28

Browse files
committed
Terminal has moved to php-school/terminal
1 parent bd8d8a8 commit 19ddd28

File tree

3 files changed

+6
-358
lines changed

3 files changed

+6
-358
lines changed

src/Terminal/TerminalFactory.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22

33
namespace PhpSchool\CliMenu\Terminal;
44

5-
use PhpSchool\CliMenu\IO\ResourceInputStream;
6-
use PhpSchool\CliMenu\IO\ResourceOutputStream;
5+
use PhpSchool\Terminal\IO\ResourceInputStream;
6+
use PhpSchool\Terminal\IO\ResourceOutputStream;
7+
use PhpSchool\Terminal\Terminal;
8+
use PhpSchool\Terminal\UnixTerminal;
9+
710

811
/**
912
* @author Michael Woodward <[email protected]>
1013
*/
1114
class TerminalFactory
1215
{
13-
public static function fromSystem() : TerminalInterface
16+
public static function fromSystem() : Terminal
1417
{
1518
return new UnixTerminal(new ResourceInputStream, new ResourceOutputStream);
1619
}

src/Terminal/TerminalInterface.php

Lines changed: 0 additions & 96 deletions
This file was deleted.

src/Terminal/UnixTerminal.php

Lines changed: 0 additions & 259 deletions
This file was deleted.

0 commit comments

Comments
 (0)