src/DataDefinition/Palette/Builder/PaletteBuilder.php
public function setPalettePropertyValueConditionClassName($palettePropertyValueConditionClassName)
    {
        $event = new SetPalettePropertyValueConditionClassNameEvent($palettePropertyValueConditionClassName, $this);
        $this->dispatchEvent($event);
        $palettePropertyValueConditionClassName = $event->getPalettePropertyValueConditionClassName();

        $this->palettePropertyValueConditionClassName = (string) $palettePropertyValueConditionClassName;
        $this->palettePropertyValueConditionClass     = new \ReflectionClass(
            $this->palettePropertyValueConditionClassName
        );
        return $this;
    }
public function setPalettePropertyValueConditionClassName($palettePropertyValueConditionClassName)
    {
        $event = new SetPalettePropertyValueConditionClassNameEvent($palettePropertyValueConditionClassName, $this);
        $this->dispatchEvent($event);
        $palettePropertyValueConditionClassName = $event->getPalettePropertyValueConditionClassName();

        $this->palettePropertyValueConditionClassName = (string) $palettePropertyValueConditionClassName;
        $this->palettePropertyValueConditionClass     = new \ReflectionClass(
            $this->palettePropertyValueConditionClassName
        );
        return $this;
    }
public function setPalettePropertyValueConditionClassName ( $ palettePropertyValueConditionClassName ) { $ event = new SetPalettePropertyValueConditionClassNameEvent ( $ palettePropertyValueConditionClassName , $ this ) ; $ this -> dispatchEvent ( $ event ) ; $ palettePropertyValueConditionClassName = $ event -> getPalettePropertyValueConditionClassName ( ) ; $ this -> palettePropertyValueConditionClassName = ( string ) $ palettePropertyValueConditionClassName ; $ this -> palettePropertyValueConditionClass = new \ ReflectionClass ( $ this -> palettePropertyValueConditionClassName ) ; return $ this ; }
Set the palette property value condition class name.

@param string $palettePropertyValueConditionClassName The class name.

@return PaletteBuilder
Set the palette property value condition class name .