Copied!
CloneableInstantiable
Constants
public PhpParser\Builder\TraitUseAdaptation::TYPE_ALIAS = 1
public PhpParser\Builder\TraitUseAdaptation::TYPE_PRECEDENCE = 2
public PhpParser\Builder\TraitUseAdaptation::TYPE_UNDEFINED = 0
Methods
public __construct( $trait, $method)
 

Creates a trait use adaptation builder.

public as( $alias)
 

Sets alias of method.

public getNode() : PhpParser\Node
 

Returns the built node.

public insteadof( $traits)
 

Adds overwritten traits.

public makePrivate()
 

Sets adaptated method private.

public makeProtected()
 

Sets adaptated method protected.

public makePublic()
 

Sets adaptated method public.

Properties
protected $alias
protected $insteadof
protected $method
protected $modifier
protected $trait
protected $type
 
Methods
protected setModifier(int $modifier)
© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration