EnumValue example

if ($var instanceof BackedEnum) {
                    $c = $case->value;
                    $cases->contents[] = $this->parser->parse($c$base_obj);
                } else {
                    $cases->contents[] = $base_obj;
                }
            }

            self::$cache[$class] = $cases;
        }

        $object = new EnumValue($var);
        $object->transplant($o);

        $object->addRepresentation(self::$cache[$class], 0);

        $o = $object;
    }
}
Home | Imprint | This part of the site doesn't use cookies.