PHP Class Phrozn\Processor\Markdown

Author: Victor Farazdagi
Inheritance: extends Base, implements Phrozn\Processor
Afficher le fichier Open project: farazdagi/phrozn Class Usage Examples

Protected Properties

Свойство Type Description
$markdown Michelf\MarkdownExtra Reference to procesor class

Méthodes publiques

Méthode Description
__construct ( array $options = [] ) : void Processor can be setup at initialization time
render ( string $tpl, array $vars = [] ) : string Parse the incoming template

Method Details

__construct() public méthode

Processor can be setup at initialization time
public __construct ( array $options = [] ) : void
$options array Processor options
Résultat void

render() public méthode

Parse the incoming template
public render ( string $tpl, array $vars = [] ) : string
$tpl string Source template content
$vars array List of variables passed to template engine
Résultat string Processed template

Property Details

$markdown protected_oe property

Reference to procesor class
protected MarkdownExtra,Michelf $markdown
Résultat Michelf\MarkdownExtra