Text='Text (click me to edit)'; $this->FontSize='20'; $this->FontFamily='Verdana'; $this->TextAlignment='center'; $this->Type='Text'; $this->CharSpacing=0; $this->Color=(new SolidColorOptionsDTO())->Merge(); $this->Shadow=(new ShadowOptionsDTO())->Merge(); } public function GetValueFromLoader($property,$value){ switch($property){ case "Color": return \rnadvanceemailingwc\DTO\core\Factories\ColorFactory::GetColorOptions($value); default: return parent::GetValueFromLoader($property, $value); } } }