mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2024-06-26 09:20:07 +02:00
Since flydev has marked his version as deprecated (it was a simple composer port of Michel Fortin's initial project), it seems good to revert the dependency to the stable/continued project.
16 lines
268 B
PHP
16 lines
268 B
PHP
<?php
|
|
|
|
namespace Knp\Bundle\MarkdownBundle;
|
|
|
|
interface MarkdownParserInterface
|
|
{
|
|
/**
|
|
* Converts text to html using markdown rules
|
|
*
|
|
* @param string $text plain text
|
|
*
|
|
* @return string rendered html
|
|
*/
|
|
function transform($text);
|
|
}
|