src/Perry/Representation/Eve/v1/TournamentSeries.php
public function setMatchesWon($matchesWon)
    {
        // by Warringer\Types\Dict
        $converters = [];
        $converters['redTeam'] = function ($value) { return $value; };
        $converters['blueTeam'] = function ($value) { return $value; };

        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['redTeam'] = isset($value->{'redTeam'}) ? $converters['redTeam']($value->{'redTeam'}) : null;
            $return['blueTeam'] = isset($value->{'blueTeam'}) ? $converters['blueTeam']($value->{'blueTeam'}) : null;
            return $return;
        };
        $this->matchesWon = $func($matchesWon);
    }
public function setMatchesWon($matchesWon)
    {
        // by Warringer\Types\Dict
        $converters = [];
        $converters['redTeam'] = function ($value) { return $value; };
        $converters['blueTeam'] = function ($value) { return $value; };

        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['redTeam'] = isset($value->{'redTeam'}) ? $converters['redTeam']($value->{'redTeam'}) : null;
            $return['blueTeam'] = isset($value->{'blueTeam'}) ? $converters['blueTeam']($value->{'blueTeam'}) : null;
            return $return;
        };
        $this->matchesWon = $func($matchesWon);
    }
by Warringer\Types\Dict