src/DataDefinition/Palette/Builder/PaletteBuilder.php
public function setPaletteClassName($paletteClassName)
    {
        $event = new SetPaletteClassNameEvent($paletteClassName, $this);
        $this->dispatchEvent($event);
        $paletteClassName = $event->getPaletteClassName();

        $this->paletteClassName = (string) $paletteClassName;
        $this->paletteClass     = new \ReflectionClass($this->paletteClassName);
        return $this;
    }
public function setPaletteClassName($paletteClassName)
    {
        $event = new SetPaletteClassNameEvent($paletteClassName, $this);
        $this->dispatchEvent($event);
        $paletteClassName = $event->getPaletteClassName();

        $this->paletteClassName = (string) $paletteClassName;
        $this->paletteClass     = new \ReflectionClass($this->paletteClassName);
        return $this;
    }
public function setPaletteClassName ( $ paletteClassName ) { $ event = new SetPaletteClassNameEvent ( $ paletteClassName , $ this ) ; $ this -> dispatchEvent ( $ event ) ; $ paletteClassName = $ event -> getPaletteClassName ( ) ; $ this -> paletteClassName = ( string ) $ paletteClassName ; $ this -> paletteClass = new \ ReflectionClass ( $ this -> paletteClassName ) ; return $ this ; }
Set the palette class name.

@param string $paletteClassName The class name.

@return PaletteBuilder
Set the palette class name .