Свойство | Тип | Описание | |
---|---|---|---|
$rstore | The replacement store | ||
$vstore | The variable store |
Метод | Описание | |
---|---|---|
__construct ( |
Creates new instance of VariableProvider | |
doReplacements ( string $value, array $matches, string $type ) : string | Does the replacements in the string for the variable | |
parse ( string $value ) : string | Parses the string for the types of variables |
Метод | Описание | |
---|---|---|
checkVariableExists ( string $variable, string $type ) : boolean | Checks to see if the variable exists | |
fetchVariable ( string $variable_name, string $type ) : string | Fetches the variable from the stores | |
fetchVariableMatches ( string $value, string $regex ) : array | Fetches the variable matches in the string | |
typeParse ( string $value, string $type ) : string | Parses the string based on the type of variable |
public __construct ( |
||
$vars | Instance of the calling Vars |
public ReplacementStore,M1\Vars\Variables $rstore | ||
Результат |