Neos\FluidAdaptor\Core\ViewHelper\ArgumentDefinition::__construct PHP Method

__construct() public method

Constructor for this argument definition.
public __construct ( string $name, string $type, string $description, boolean $required, mixed $defaultValue = null, boolean $isMethodParameter = false )
$name string Name of argument
$type string Type of argument
$description string Description of argument
$required boolean TRUE if argument is required
$defaultValue mixed Default value
$isMethodParameter boolean TRUE if this argument is a method parameter
    public function __construct($name, $type, $description, $required, $defaultValue = null, $isMethodParameter = false)
    {
        $this->name = $name;
        $this->type = $type;
        $this->description = $description;
        $this->required = $required;
        $this->defaultValue = $defaultValue;
        $this->isMethodParameter = $isMethodParameter;
    }