Template
in package
FinalYes
Table of Contents
Properties
- $closeDelimiter : string
- $openDelimiter : string
- $template : string
- $values : array<string|int, mixed>
Methods
- __construct() : mixed
- render() : string
- renderTo() : void
- setFile() : void
- setVar() : void
Properties
$closeDelimiter
private
string
$closeDelimiter
$openDelimiter
private
string
$openDelimiter
$template
private
string
$template
= ''
$values
private
array<string|int, mixed>
$values
= []
Tags
Methods
__construct()
public
__construct([string $file = '' ][, string $openDelimiter = '{' ][, string $closeDelimiter = '}' ]) : mixed
Parameters
- $file : string = ''
- $openDelimiter : string = '{'
- $closeDelimiter : string = '}'
Tags
render()
public
render() : string
Return values
stringrenderTo()
public
renderTo(string $target) : void
Parameters
- $target : string
Tags
setFile()
public
setFile(string $file) : void
Parameters
- $file : string
Tags
setVar()
public
setVar(array<string|int, mixed> $values[, bool $merge = true ]) : void
Parameters
- $values : array<string|int, mixed>
- $merge : bool = true