Methods |
public
|
__construct(string $name)
Creates an interface builder.
Creates an interface builder.
Parameters
$name |
Name of the interface
|
|
#
|
public
|
extend(Name|string ...$interfaces): $this
Extends one or more interfaces.
Extends one or more interfaces.
Parameters
...$interfaces |
Names of interfaces to extend
|
Returns
The builder instance (for fluid interface)
|
#
|
public
|
addStmt(Stmt|Builder $stmt): $this
Adds a statement.
Parameters
$stmt |
The statement to add
|
Returns
The builder instance (for fluid interface)
Implements
|
#
|
public
|
addAttribute(Attribute|AttributeGroup $attribute): $this
Adds an attribute group.
Returns
The builder instance (for fluid interface)
|
#
|
public
|
getNode(): Interface_
Returns the built interface node.
Returns the built interface node.
Returns
Implements
|
#
|