src/Perry/Representation/Eve/v1/TournamentTeam.php
public function setBanFrequency($banFrequency)
    {
        // by Warringer\Types\Dict
        $converters = [];
        $converters['numBans'] = function ($value) { return $value; };
        $converters['shipType'] = function ($value) { return new Reference($value); };

        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['numBans'] = isset($value->{'numBans'}) ? $converters['numBans']($value->{'numBans'}) : null;
            $return['shipType'] = isset($value->{'shipType'}) ? $converters['shipType']($value->{'shipType'}) : null;
            return $return;
        };

        foreach ($banFrequency as $key => $value) {
            $this->banFrequency[$key] = $func($value);
        }
    }
public function setBanFrequency($banFrequency)
    {
        // by Warringer\Types\Dict
        $converters = [];
        $converters['numBans'] = function ($value) { return $value; };
        $converters['shipType'] = function ($value) { return new Reference($value); };

        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['numBans'] = isset($value->{'numBans'}) ? $converters['numBans']($value->{'numBans'}) : null;
            $return['shipType'] = isset($value->{'shipType'}) ? $converters['shipType']($value->{'shipType'}) : null;
            return $return;
        };

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