src/Model/Queue/Declaration.php
public function withAutoGeneratedName(): self
    {
        if ($this->isPassive()) {
            throw new PassiveQueueDeclarationMustHaveAName;
        }

        $self = clone $this;
        $self->name = null;

        return $self;
    }
public function withAutoGeneratedName(): self
    {
        if ($this->isPassive()) {
            throw new PassiveQueueDeclarationMustHaveAName;
        }

        $self = clone $this;
        $self->name = null;

        return $self;
    }
public function withAutoGeneratedName ( ) : self { if ( $ this -> isPassive ( ) ) { throw new PassiveQueueDeclarationMustHaveAName ; } $ self = clone $ this ; $ self -> name = null ; return $ self ; }
Let the server generate a name for the queue
Let the server generate a name for the queue