public function withPlayAll(bool $playAll): self
    {
        if ($this->playAll == $playAll) {
            return $this;
        }

        $url = clone $this;
        $url->playAll = $playAll;

        return $url;
    }
public function withPlayAll(bool $playAll): self
    {
        if ($this->playAll == $playAll) {
            return $this;
        }

        $url = clone $this;
        $url->playAll = $playAll;

        return $url;
    }
public function withPlayAll ( bool $ playAll ) : self { if ( $ this -> playAll == $ playAll ) { return $ this ; } $ url = clone $ this ; $ url -> playAll = $ playAll ; return $ url ; }
Override the player's playAll setting for playlist auto-advance for this URL.

@see https://docs.theplatform.com/help/player-player-playall

@param bool $playAll

@return Url
Override the player s playAll setting for playlist auto - advance for this URL .