Documentation

Js extends Injectable
in package

Manage Js templates generation

Table of Contents

__construct()  : mixed
Generate template
create()  : void
Create template files

Methods

__construct()

Generate template

public __construct(string $controller[, null|string $actions = '' ]) : mixed
Parameters
$controller : string

Controller name

$actions : null|string = ''
Return values
mixed

create()

Create template files

private create(string $source, string $target, array<string|int, mixed> $params) : void
Parameters
$source : string

Source template file path

$target : string

Target file path

$params : array<string|int, mixed>

Template params

Return values
void

Search results