Text/ParseStrategy.php
\Conjoon_Text_ParseStrategy
Package: Conjoon\Text
- Children
- \Conjoon_Text_Template_PhpParseStrategy
- \Conjoon_Text_Template_DefaultParseStrategy
- Author
- Thorsten Suckow-Homberg
- Category
- Text
Methods

parse(
\Conjoon_Text_Template_Resource $resource, array $vars
)
:
voidParses the given text and replaces placeholders identified by the associative array#s keys with the specific values.
Parameters
Throws
| Name | Type | Description |
|---|---|---|
| $resource | \Conjoon_Text_Template_Resource | |
| $vars | array |
| Exception | Description |
|---|---|
| \Conjoon_Text_Template_Exception |