ApiGen\Parser\Reflection\ReflectionParameterMagic::__construct PHP Method

__construct() public method

public __construct ( array $settings )
$settings array
    public function __construct(array $settings)
    {
        $this->name = $settings['name'];
        $this->position = $settings['position'];
        $this->typeHint = $settings['typeHint'];
        $this->defaultValueDefinition = $settings['defaultValueDefinition'];
        $this->unlimited = $settings['unlimited'];
        $this->passedByReference = $settings['passedByReference'];
        $this->declaringFunction = $settings['declaringFunction'];
        $this->reflectionType = get_class($this);
    }