icingaweb2/library/Icinga/Cli/Screen.php

19 lines
295 B
PHP
Raw Normal View History

2013-10-22 14:26:45 +02:00
<?php
namespace Icinga\Cli;
use Icinga\Cli\Screen\AnsiScreen;
class Screen
{
protected static $instance;
public static function instance()
2013-10-22 14:26:45 +02:00
{
if (self::$instance === null) {
self::$instance = new AnsiScreen();
}
return self::$instance;
}
}