Darken\Builder\Compiler\PropertyExtractor

class

Methods

Method Details

public __construct (Darken\Builder\Compiler\UseStatementCollector $useStatementCollector, PhpParser\Node\Stmt\Property $propertyNode, PhpParser\Node\PropertyItem $prop, PhpParser\Node\Attribute $decoratorAttribute) PropertyExtractor.php#26
$useStatementCollector Darken\Builder\Compiler\UseStatementCollector
$propertyNode PhpParser\Node\Stmt\Property
$prop PhpParser\Node\PropertyItem
$decoratorAttribute PhpParser\Node\Attribute
public string getVisibility () PropertyExtractor.php#31
Return string
public string getType () PropertyExtractor.php#44
Return string
public string getName () PropertyExtractor.php#55
Return string
public PhpParser\Node|null getDefaultValue () PropertyExtractor.php#60
Return PhpParser\Node|null
public string|null getDecoratorAttributeParamValue () PropertyExtractor.php#69
Return string|null
public string|false getDecoratorAttributeName () PropertyExtractor.php#82
Return string|false
public object getArg () PropertyExtractor.php#91
Return object
public PhpParser\Node\Stmt\Expression createGetDataExpression (string $getterName) PropertyExtractor.php#118
$getterName string
Return PhpParser\Node\Stmt\Expression