src/DataDefinition/Palette/Builder/PaletteBuilder.php
public function setDefaultPaletteConditionClassName($defaultPaletteConditionClassName)
    {
        $event = new SetDefaultPaletteConditionClassNameEvent($defaultPaletteConditionClassName, $this);
        $this->dispatchEvent($event);
        $defaultPaletteConditionClassName = $event->getDefaultPaletteConditionClassName();

        $this->defaultPaletteConditionClassName = (string) $defaultPaletteConditionClassName;
        $this->defaultPaletteConditionClass     = new \ReflectionClass($this->defaultPaletteConditionClassName);
        return $this;
    }
public function setDefaultPaletteConditionClassName($defaultPaletteConditionClassName)
    {
        $event = new SetDefaultPaletteConditionClassNameEvent($defaultPaletteConditionClassName, $this);
        $this->dispatchEvent($event);
        $defaultPaletteConditionClassName = $event->getDefaultPaletteConditionClassName();

        $this->defaultPaletteConditionClassName = (string) $defaultPaletteConditionClassName;
        $this->defaultPaletteConditionClass     = new \ReflectionClass($this->defaultPaletteConditionClassName);
        return $this;
    }
public function setDefaultPaletteConditionClassName ( $ defaultPaletteConditionClassName ) { $ event = new SetDefaultPaletteConditionClassNameEvent ( $ defaultPaletteConditionClassName , $ this ) ; $ this -> dispatchEvent ( $ event ) ; $ defaultPaletteConditionClassName = $ event -> getDefaultPaletteConditionClassName ( ) ; $ this -> defaultPaletteConditionClassName = ( string ) $ defaultPaletteConditionClassName ; $ this -> defaultPaletteConditionClass = new \ ReflectionClass ( $ this -> defaultPaletteConditionClassName ) ; return $ this ; }
Set the default palette condition class name.

@param string $defaultPaletteConditionClassName The class name.

@return PaletteBuilder
Set the default palette condition class name .