Documentation

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

$values

private array<string|int, mixed> $values = []
Tags
psalm-var

array<string,string>

Methods

__construct()

public __construct([string $file = '' ][, string $openDelimiter = '{' ][, string $closeDelimiter = '}' ]) : mixed
Parameters
$file : string = ''
$openDelimiter : string = '{'
$closeDelimiter : string = '}'
Tags
throws
InvalidArgumentException

render()

public render() : string
Return values
string

renderTo()

public renderTo(string $target) : void
Parameters
$target : string
Tags
codeCoverageIgnore

setVar()

public setVar(array<string|int, mixed> $values[, bool $merge = true ]) : void
Parameters
$values : array<string|int, mixed>
$merge : bool = true
Tags
psalm-param

array<string,string> $values


        
On this page

Search results