final class Blueprint

internal  
 

Generates blueprint of template class.

Methods

void
printClass(Template $template, string|null $name = null)

No description

void
printVars(array $vars)

No description

void
addProperties(ClassType $class, array $props)

No description

void
addFunctions(ClassType $class, array $funcs)

No description

string
printParameters(Method $function, PhpNamespace|null $namespace = null)

No description

string
printCanvas()

No description

void
printHeader(string $string)

No description

void
printCode(string $code, string $lang = 'php')

No description

Details

at line 25
void printClass(Template $template, string|null $name = null)

No description

Parameters

Template $template
string|null $name

Return Value

void

at line 49
void printVars(array $vars)

No description

Parameters

array $vars

Return Value

void

at line 75
void addProperties(ClassType $class, array $props)

No description

Parameters

ClassType $class
array $props

Return Value

void

at line 89
void addFunctions(ClassType $class, array $funcs)

No description

Parameters

ClassType $class
array $funcs

Return Value

void

at line 120
string printParameters(Method $function, PhpNamespace|null $namespace = null)

No description

Parameters

Method $function
PhpNamespace|null $namespace

Return Value

string

at line 139
string printCanvas()

No description

Return Value

string

at line 148
void printHeader(string $string)

No description

Parameters

string $string

Return Value

void

at line 156
void printCode(string $code, string $lang = 'php')

No description

Parameters

string $code
string $lang

Return Value

void

Traits

Better OOP experience.