src/Perry/Representation/Eve/v1/TournamentStaticSceneData.php
public function setShips($ships)
    {
        // by Warringer\Types\Dict
        $converters = [];
        $converters['item'] = function ($value) { return new Reference($value); };
        $converters['points'] = function ($value) { return $value; };
        $converters['character'] = function ($value) { return new Reference($value); };
        $converters['turrets'] = function ($values) {
        // by Warringer\Types\Reference
        $func = function ($value) { return new Reference($value); };

            foreach ($values as $key => $value) {
                 $values[$key] = $func($value);
            }
           return $values;
        };

        $converters['type'] = function ($value) { return new Reference($value); };

        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['item'] = isset($value->{'item'}) ? $converters['item']($value->{'item'}) : null;
            $return['points'] = isset($value->{'points'}) ? $converters['points']($value->{'points'}) : null;
            $return['character'] = isset($value->{'character'}) ? $converters['character']($value->{'character'}) : null;
            $return['turrets'] = isset($value->{'turrets'}) ? $converters['turrets']($value->{'turrets'}) : null;
            $return['type'] = isset($value->{'type'}) ? $converters['type']($value->{'type'}) : null;
            return $return;
        };

        foreach ($ships as $key => $value) {
            $this->ships[$key] = $func($value);
        }
    }
public function setShips($ships)
    {
        // by Warringer\Types\Dict
        $converters = [];
        $converters['item'] = function ($value) { return new Reference($value); };
        $converters['points'] = function ($value) { return $value; };
        $converters['character'] = function ($value) { return new Reference($value); };
        $converters['turrets'] = function ($values) {
        // by Warringer\Types\Reference
        $func = function ($value) { return new Reference($value); };

            foreach ($values as $key => $value) {
                 $values[$key] = $func($value);
            }
           return $values;
        };

        $converters['type'] = function ($value) { return new Reference($value); };

        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['item'] = isset($value->{'item'}) ? $converters['item']($value->{'item'}) : null;
            $return['points'] = isset($value->{'points'}) ? $converters['points']($value->{'points'}) : null;
            $return['character'] = isset($value->{'character'}) ? $converters['character']($value->{'character'}) : null;
            $return['turrets'] = isset($value->{'turrets'}) ? $converters['turrets']($value->{'turrets'}) : null;
            $return['type'] = isset($value->{'type'}) ? $converters['type']($value->{'type'}) : null;
            return $return;
        };

        foreach ($ships as $key => $value) {
            $this->ships[$key] = $func($value);
        }
    }
by Warringer\Types\ArrayType