Methods |
public
|
__construct(string $name)
Creates a method builder.
Creates a method builder.
Parameters
|
#
|
public
|
makePublic(): $this
Makes the method public.
Returns
The builder instance (for fluid interface)
|
#
|
public
|
makeProtected(): $this
Makes the method protected.
Makes the method protected.
Returns
The builder instance (for fluid interface)
|
#
|
public
|
makePrivate(): $this
Makes the method private.
Makes the method private.
Returns
The builder instance (for fluid interface)
|
#
|
public
|
makeStatic(): $this
Makes the method static.
Returns
The builder instance (for fluid interface)
|
#
|
public
|
makeAbstract(): $this
Makes the method abstract.
Makes the method abstract.
Returns
The builder instance (for fluid interface)
|
#
|
public
|
makeFinal(): $this
Makes the method final.
Returns
The builder instance (for fluid interface)
|
#
|
public
|
addStmt(Node|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(): ClassMethod
Returns the built method node.
Returns the built method node.
Returns
Implements
|
#
|