PHPCfg\Op\Expr\Param::__construct PHP Метод

__construct() публичный Метод

public __construct ( Operand $name, $type, $byRef, $variadic, Operand $defaultVar = null, Block $defaultBlock = null, array $attributes = [] )
$name PHPCfg\Operand
$defaultVar PHPCfg\Operand
$defaultBlock PHPCfg\Block
$attributes array
    public function __construct(Operand $name, $type, $byRef, $variadic, Operand $defaultVar = null, Block $defaultBlock = null, array $attributes = [])
    {
        parent::__construct($attributes);
        $this->result->original = $name;
        $this->name = $this->addReadRef($name);
        $this->type = $type;
        $this->byRef = (bool) $byRef;
        $this->variadic = (bool) $variadic;
        $this->defaultVar = $this->addReadRef($defaultVar);
        $this->defaultBlock = $defaultBlock;
    }