Copied!
CloneableInstantiable
Methods
public __construct(string $name)
 

Creates an enum builder.

public addAttribute( $attribute)
 

Adds an attribute group.

public addStmt( $stmt)
 

Adds a statement.

public PhpParser\Builder\Declaration::addStmts(array $stmts)
 

Adds multiple statements.

public getNode() : PhpParser\Node
 

Returns the built class node.

public implement( $interfaces)
 

Implements one or more interfaces.

public PhpParser\Builder\Declaration::setDocComment( $docComment)
 

Sets doc comment for the declaration.

public setScalarType( $scalarType)
Properties
protected $attributeGroups
protected PhpParser\Builder\Declaration::$attributes
protected $constants
protected $enumCases
protected $implements
protected $methods
protected $name
protected $scalarType
protected $uses
© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration