Pimcore\Model\Object\ClassDefinition\Data\Persona::__set_state PHP Method

__set_state() public static method

public static __set_state ( $data ) : static
$data
return static
    public static function __set_state($data)
    {
        $obj = parent::__set_state($data);
        $options = $obj->getOptions();
        if (\Pimcore::inAdmin() || empty($options)) {
            $obj->configureOptions();
        }
        return $obj;
    }