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;
use Kadet\Highlighter\Formatter\FormatterInterface;
use Kadet\Highlighter\Language\Language;
function highlight($source, Language $language, FormatterInterface $formatter = null)
{
return KeyLighter::get()->highlight($source, $language, $formatter);
}