CloneableInstantiable
Methods |
public __construct(string $name) Creates a method builder.
|
public addAttribute( $attribute) Adds an attribute group.
|
public addStmt( $stmt) Adds a statement.
|
public getNode() : PhpParser Returns the built method node.
|
public makeAbstract() Makes the method abstract.
|
public makeFinal() Makes the method final.
|
public makePrivate() Makes the method private.
|
public makeProtected() Makes the method protected.
|
public makePublic() Makes the method public.
|
public makeStatic() Makes the method static.
|
Properties |
protected array $attributeGroups = []
|
protected int $flags = 0 |
protected string $name |
protected ?array $stmts = []
|