Darken\Builder\Compiler\Extractor\AttributeExtractorTrait

trait

Methods

Method Details

public string resolveAttributeName (Darken\Builder\Compiler\UseStatementCollector $useStatementCollector, PhpParser\Node\Name $name) AttributeExtractorTrait.php#21

Resolve the fully qualified attribute name using use statements.

$useStatementCollector Darken\Builder\Compiler\UseStatementCollector
$name PhpParser\Node\Name
Return string
public array createDecoratorAttributeArguments (PhpParser\Node\Attribute $decoratorAttribute) AttributeExtractorTrait.php#33
$decoratorAttribute PhpParser\Node\Attribute
Return array
public PhpParser\Node\Expr|null createDecoratorAttributeFirstArgument (PhpParser\Node\Attribute $decoratorAttribute) AttributeExtractorTrait.php#38
$decoratorAttribute PhpParser\Node\Attribute
Return PhpParser\Node\Expr|null
public string|null|array createDecoratorAttributeParamValue (Darken\Builder\Compiler\UseStatementCollector $statemnentCollector, PhpParser\Node\Attribute $decoratorAttribute) AttributeExtractorTrait.php#44
$statemnentCollector Darken\Builder\Compiler\UseStatementCollector
$decoratorAttribute PhpParser\Node\Attribute
Return string|null|array
public string|false createDecoratorAttributeParamName (Darken\Builder\Compiler\UseStatementCollector $useStatementCollector, PhpParser\Node\Attribute $decoratorAttribute) AttributeExtractorTrait.php#63
$useStatementCollector Darken\Builder\Compiler\UseStatementCollector
$decoratorAttribute PhpParser\Node\Attribute
Return string|false