public __construct ( string $propertyName, ReflectionProperty $reflectionProperty, |
||
$propertyName | string | |
$reflectionProperty | ReflectionProperty | |
$annotation |
public function __construct($propertyName, \ReflectionProperty $reflectionProperty, Label $annotation)
{
$this->propertyName = $propertyName;
$this->reflectionProperty = $reflectionProperty;
$this->annotation = $annotation;
$this->labelName = $annotation->name;
}