mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2024-06-10 09:52:19 +02:00
Merge pull request #54 from stof/bc_interface
Reverted the interface renaming done in #50
This commit is contained in:
commit
c24fca93e1
|
@ -11,5 +11,5 @@ interface MarkdownParserInterface
|
|||
*
|
||||
* @return string rendered html
|
||||
*/
|
||||
function transform($text);
|
||||
function transformMarkdown($text);
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ class SundownParser implements MarkdownParserInterface
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function transform($text)
|
||||
public function transformMarkdown($text)
|
||||
{
|
||||
return $this->parser->render($text);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue