Method |
Description |
|
__construct ( string $name, string $parent = null ) : InterfaceGenerator |
Constructor |
|
__toString ( ) : string |
Print method |
|
addMethod ( MethodGenerator $method ) : ClassGenerator |
Add a class method |
|
factory ( string $name, string $parent = null ) : InterfaceGenerator |
Static method to instantiate the interface generator object and return itself
to facilitate chaining methods together. |
|
getDocblock ( ) : DocblockGenerator |
Access the docblock generator object |
|
getIndent ( ) : string |
Get the interface indent |
|
getMethod ( mixed $method ) : /Pop\Code\MethodGenerator |
Get a method property |
|
getName ( ) : string |
Get the interface name |
|
getNamespace ( ) : NamespaceGenerator |
Access the namespace generator object |
|
getParent ( ) : string |
Get the interface parent |
|
removeMethod ( mixed $method ) : ClassGenerator |
Remove a method property |
|
render ( boolean $ret = false ) : mixed |
Render method |
|
setDocblock ( DocblockGenerator $docblock ) : ClassGenerator |
Set the docblock generator object |
|
setIndent ( string $indent = null ) : InterfaceGenerator |
Set the interface indent |
|
setName ( string $name ) : InterfaceGenerator |
Set the interface name |
|
setNamespace ( NamespaceGenerator $namespace ) : ClassGenerator |
Set the namespace generator object |
|
setParent ( string $parent = null ) : InterfaceGenerator |
Set the interface parent |
|