class Blueprint

Generates blueprint of template class.

Traits

Better OOP experience.

Methods

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

No description

void
printVars(array $vars)

No description

void
addProperties(ClassType $class, array $props, bool $native = null)

No description

void
addFunctions(ClassType $class, array $funcs)

No description

string
printCanvas()

No description

void
printHeader($string)

No description

void
printCode($code)

No description

Details

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

Parameters

Template $template
string $name

Return Value

void

at line 49
void printVars(array $vars)

Parameters

array $vars

Return Value

void

at line 71
void addProperties(ClassType $class, array $props, bool $native = null)

Parameters

ClassType $class
array $props
bool $native

Return Value

void

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

Parameters

ClassType $class
array $funcs

Return Value

void

at line 99
string printCanvas()

Return Value

string

at line 106
void printHeader($string)

Parameters

$string

Return Value

void

at line 112
void printCode($code)

Parameters

$code

Return Value

void