Menu

## TemplateEngineInterface
in

TemplateEngineInterface.php : 5

### Table of Contents

#### Methods

clearCache() : void
  Clear the cached files
parse() : string
  Parse the template file and return the content as string
view() : void
  Render a template file

### Methods

#### clearCache()

TemplateEngineInterface.php : 26

Clear the cached files

`public static clearCache() : void`

#### parse()

TemplateEngineInterface.php : 21

Parse the template file and return the content as string

`public parse( $file[, array<string|int, mixed>|null $data = null ]) : string`

##### Parameters

$file :
$data : array<string|int, mixed>|null = null

##### Return values

string

#### view()

TemplateEngineInterface.php : 13

Render a template file

`public view( $file[, array<string|int, mixed>|null $data = [] ]) : void`

##### Parameters

$file :
$data : array<string|int, mixed>|null = []

## Search results