icingaweb2/library/Icinga/Cli/Screen.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;
}
}