Blueprint
class Blueprint
internal |
Generates blueprint of template class.
Methods
void
void
printVars(array $vars)
No description
void
void
string
printParameters(Closure|GlobalFunction|Method $function, PhpNamespace $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 24
void
printClass(Template $template, string $name = null)
No description
at line 53
void
printVars(array $vars)
No description
at line 78
void
addProperties(ClassType $class, array $props, bool $native = null)
No description
at line 98
void
addFunctions(ClassType $class, array $funcs)
No description
at line 129
string
printParameters(Closure|GlobalFunction|Method $function, PhpNamespace $namespace = null)
No description
at line 145
string
printCanvas()
No description
at line 154
void
printHeader(string $string)
No description
at line 162
void
printCode(string $code, string $lang = 'php')
No description
Traits
Better OOP experience.