src/DataDefinition/Palette/Builder/PaletteBuilder.php
public function setPaletteConditionChainClassName($paletteConditionChainClassName)
    {
        $event = new SetPaletteConditionChainClassNameEvent($paletteConditionChainClassName, $this);
        $this->dispatchEvent($event);
        $paletteConditionChainClassName = $event->getPaletteConditionChainClassName();

        $this->paletteConditionChainClassName = (string) $paletteConditionChainClassName;
        $this->paletteConditionChainClass     = new \ReflectionClass($this->paletteConditionChainClassName);
        return $this;
    }
public function setPaletteConditionChainClassName($paletteConditionChainClassName)
    {
        $event = new SetPaletteConditionChainClassNameEvent($paletteConditionChainClassName, $this);
        $this->dispatchEvent($event);
        $paletteConditionChainClassName = $event->getPaletteConditionChainClassName();

        $this->paletteConditionChainClassName = (string) $paletteConditionChainClassName;
        $this->paletteConditionChainClass     = new \ReflectionClass($this->paletteConditionChainClassName);
        return $this;
    }
public function setPaletteConditionChainClassName ( $ paletteConditionChainClassName ) { $ event = new SetPaletteConditionChainClassNameEvent ( $ paletteConditionChainClassName , $ this ) ; $ this -> dispatchEvent ( $ event ) ; $ paletteConditionChainClassName = $ event -> getPaletteConditionChainClassName ( ) ; $ this -> paletteConditionChainClassName = ( string ) $ paletteConditionChainClassName ; $ this -> paletteConditionChainClass = new \ ReflectionClass ( $ this -> paletteConditionChainClassName ) ; return $ this ; }
Set the palette condition chain class name.

@param string $paletteConditionChainClassName The class name.

@return PaletteBuilder
Set the palette condition chain class name .