for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Highlighter
*
* Copyright (C) 2016, Some right reserved.
* @author Kacper "Kadet" Donat <[email protected]>
* Contact with author:
* Xmpp: [email protected]
* E-mail: [email protected]
* From Kadet with love.
*/
namespace Kadet\Highlighter\Utils;
class Console
{
* @var ConsoleHelper
private static $_instance;
* @return ConsoleHelper
public static function get()
if (!isset(self::$_instance)) {
self::$_instance = new ConsoleHelper();
}
return self::$_instance;
public static function styled($style, $text)
return self::get()->styled($style, $text);
public static function open($style)
return self::get()->open($style);
public static function close()
return self::get()->close();
public static function reset()
return self::get()->reset();
public static function current()
return self::get()->current();
public static function set($style)
return self::get()->set($style);