PhpFile
class PhpFile
Instance of PHP file.
Generates:
- opening tag (<?php)
- doc comments
- one or more namespaces
Methods
addInterface($name)
No description
addNamespace($name)
No description
string
__toString()
No description
Details
at line 35
ClassType
addClass($name)
No description
at line 47
ClassType
addInterface($name)
No description
at line 59
ClassType
addTrait($name)
No description
at line 71
PhpNamespace
addNamespace($name)
No description
at line 83
string
__toString()
No description
Traits
SmartObject