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\Language;
class PlainText extends GreedyLanguage
{
* Tokenization rules
public function setupRules() { }
/** {@inheritdoc} */
public function getIdentifier()
return 'plaintext';
}
public static function getMetadata()
return [
'name' => ['plaintext', 'text', 'none'],
'mime' => ['text/plain']
];