Property | Type | Description | |
---|---|---|---|
$methods | |||
$name | |||
$properties |
Method | Description | |
---|---|---|
__construct ( string $name ) | Creates an interface builder. | |
addStmt ( PhpParser\Node\Stmt | PhpParser\Builder $stmt ) | Adds a statement. | |
getNode ( ) : |
Returns the built trait node. |
public __construct ( string $name ) | ||
$name | string | Name of the interface |
public addStmt ( PhpParser\Node\Stmt | PhpParser\Builder $stmt ) | ||
$stmt | PhpParser\Node\Stmt | PhpParser\Builder | The statement to add |
public getNode ( ) : |
||
return | The built interface node |