src/DataDefinition/Palette/Builder/PaletteBuilder.php
public function setPaletteCollectionClassName($paletteCollectionClassName)
    {
        $event = new SetPaletteCollectionClassNameEvent($paletteCollectionClassName, $this);
        $this->dispatchEvent($event);
        $paletteCollectionClassName = $event->getPaletteCollectionClassName();

        $this->paletteCollectionClassName = (string) $paletteCollectionClassName;
        $this->paletteCollectionClass     = new \ReflectionClass($this->paletteCollectionClassName);
        return $this;
    }
public function setPaletteCollectionClassName($paletteCollectionClassName)
    {
        $event = new SetPaletteCollectionClassNameEvent($paletteCollectionClassName, $this);
        $this->dispatchEvent($event);
        $paletteCollectionClassName = $event->getPaletteCollectionClassName();

        $this->paletteCollectionClassName = (string) $paletteCollectionClassName;
        $this->paletteCollectionClass     = new \ReflectionClass($this->paletteCollectionClassName);
        return $this;
    }
public function setPaletteCollectionClassName ( $ paletteCollectionClassName ) { $ event = new SetPaletteCollectionClassNameEvent ( $ paletteCollectionClassName , $ this ) ; $ this -> dispatchEvent ( $ event ) ; $ paletteCollectionClassName = $ event -> getPaletteCollectionClassName ( ) ; $ this -> paletteCollectionClassName = ( string ) $ paletteCollectionClassName ; $ this -> paletteCollectionClass = new \ ReflectionClass ( $ this -> paletteCollectionClassName ) ; return $ this ; }
Set the palette collection class name.

@param string $paletteCollectionClassName The class name.

@return PaletteBuilder
Set the palette collection class name .