Blueprint
class Blueprint
internal |
Generates blueprint of template class.
Methods
void
void
printVars(array $vars)
No description
void
addProperties(ClassType $class, array $props, bool|null $native = null)
No description
void
addFunctions(ClassType $class, array $funcs)
No description
string
printParameters(Closure|GlobalFunction|Method $function, PhpNamespace|null $namespace = null)
No description
string
printCanvas()
No description
void
printHeader(string $string)
No description
void
printCode(string $code)
No description
Details
at line 24
void
printClass(Template $template, string|null $name = null)
No description
at line 53
void
printVars(array $vars)
No description
at line 79
void
addProperties(ClassType $class, array $props, bool|null $native = null)
No description
at line 99
void
addFunctions(ClassType $class, array $funcs)
No description
at line 133
string
printParameters(Closure|GlobalFunction|Method $function, PhpNamespace|null $namespace = null)
No description
at line 150
string
printCanvas()
No description
at line 157
void
printHeader(string $string)
No description
at line 163
void
printCode(string $code)
No description
Traits
Better OOP experience.