19 lines
288 B
PHP
19 lines
288 B
PHP
|
<?php
|
||
|
|
||
|
namespace Icinga\Cli;
|
||
|
|
||
|
use Icinga\Cli\Screen\AnsiScreen;
|
||
|
|
||
|
class Screen
|
||
|
{
|
||
|
protected static $instance;
|
||
|
|
||
|
public function instance()
|
||
|
{
|
||
|
if (self::$instance === null) {
|
||
|
self::$instance = new AnsiScreen();
|
||
|
}
|
||
|
return self::$instance;
|
||
|
}
|
||
|
}
|