mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2024-06-20 14:45:10 +02:00
15 lines
265 B
PHP
15 lines
265 B
PHP
|
<?php
|
||
|
|
||
|
namespace Knplabs\Bundle\MarkdownBundle;
|
||
|
|
||
|
interface MarkdownParserInterface
|
||
|
{
|
||
|
/**
|
||
|
* Converts text to html using markdown rules
|
||
|
*
|
||
|
* @param string $text plain text
|
||
|
* @return string rendered html
|
||
|
*/
|
||
|
function transform($text);
|
||
|
}
|