interface MarkdownInterface in Markdown 7
Markdown Parser Interface
Hierarchy
- interface \Michelf\MarkdownInterface
Expanded class hierarchy of MarkdownInterface
All classes that implement MarkdownInterface
File
- includes/
MarkdownInterface.php, line 16
Namespace
MichelfView source
interface MarkdownInterface {
/**
* Initialize the parser and return the result of its transform method.
* This will work fine for derived classes too.
*
* @api
*
* @param string $text
* @return string
*/
public static function defaultTransform($text);
/**
* Main function. Performs some preprocessing on the input text
* and pass it through the document gamut.
*
* @api
*
* @param string $text
* @return string
*/
public function transform($text);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MarkdownInterface:: |
public static | function | * Initialize the parser and return the result of its transform method. * This will work fine for derived classes too. * * @api * * | 1 |
MarkdownInterface:: |
public | function | * Main function. Performs some preprocessing on the input text * and pass it through the document gamut. * * @api * * | 1 |