public function setBackground(FormatBackground $background = null): void
    {
        if (null === $background) {
            $this->background = null;

            return;
        }

        $this->background = $background->getValue();
    }
public function setBackground(FormatBackground $background = null): void
    {
        if (null === $background) {
            $this->background = null;

            return;
        }

        $this->background = $background->getValue();
    }
public function setBackground ( FormatBackground $ background = null ) : void { if ( null === $ background ) { $ this -> background = null ; return ; } $ this -> background = $ background -> getValue ( ) ; }
Set the background.

@param FormatBackground $background The background

@return void
Set the background .