src/Perry/Representation/Eve/v1/Killmail.php
public function setVictim($victim)
    {
        // by Warringer\Types\Dict
        $converters = [];
        $converters['alliance'] = function ($value) { return new Reference($value); };
        $converters['faction'] = function ($value) { return new Reference($value); };
        $converters['corporation'] = function ($value) { return new Reference($value); };
        $converters['damageTaken'] = function ($value) { return $value; };
        $converters['character'] = function ($value) { return new Reference($value); };
        $converters['shipType'] = function ($value) { return new Reference($value); };
        $converters['items'] = function ($values) {
        // by Warringer\Types\Base
        $converters = [];
        $converters['singleton'] = function ($value) { return $value; };
        $converters['itemType'] = function ($value) { return new Reference($value); };
        $converters['items'] = function ($values) {
        // by Warringer\Types\Dict
        $converters = [];
        $converters['quantityDropped'] = function ($value) { return $value; };
        $converters['singleton'] = function ($value) { return $value; };
        $converters['quantityDestroyed'] = function ($value) { return $value; };
        $converters['flag'] = function ($value) { return $value; };
        $converters['itemType'] = function ($value) { return new Reference($value); };

        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['quantityDropped'] = isset($value->{'quantityDropped'}) ? $converters['quantityDropped']($value->{'quantityDropped'}) : null;
            $return['singleton'] = isset($value->{'singleton'}) ? $converters['singleton']($value->{'singleton'}) : null;
            $return['quantityDestroyed'] = isset($value->{'quantityDestroyed'}) ? $converters['quantityDestroyed']($value->{'quantityDestroyed'}) : null;
            $return['flag'] = isset($value->{'flag'}) ? $converters['flag']($value->{'flag'}) : null;
            $return['itemType'] = isset($value->{'itemType'}) ? $converters['itemType']($value->{'itemType'}) : null;
            return $return;
        };

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

        $converters['flag'] = function ($value) { return $value; };
        $converters['quantityDropped'] = function ($value) { return $value; };
        $converters['quantityDestroyed'] = function ($value) { return $value; };

        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['singleton'] = isset($value->{'singleton'}) ? $converters['singleton']($value->{'singleton'}) : null;
            $return['itemType'] = isset($value->{'itemType'}) ? $converters['itemType']($value->{'itemType'}) : null;
            $return['items'] = isset($value->{'items'}) ? $converters['items']($value->{'items'}) : null;
            $return['flag'] = isset($value->{'flag'}) ? $converters['flag']($value->{'flag'}) : null;
            $return['quantityDropped'] = isset($value->{'quantityDropped'}) ? $converters['quantityDropped']($value->{'quantityDropped'}) : null;
            $return['quantityDestroyed'] = isset($value->{'quantityDestroyed'}) ? $converters['quantityDestroyed']($value->{'quantityDestroyed'}) : null;
            return $return;
        };

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


        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['alliance'] = isset($value->{'alliance'}) ? $converters['alliance']($value->{'alliance'}) : null;
            $return['faction'] = isset($value->{'faction'}) ? $converters['faction']($value->{'faction'}) : null;
            $return['corporation'] = isset($value->{'corporation'}) ? $converters['corporation']($value->{'corporation'}) : null;
            $return['damageTaken'] = isset($value->{'damageTaken'}) ? $converters['damageTaken']($value->{'damageTaken'}) : null;
            $return['character'] = isset($value->{'character'}) ? $converters['character']($value->{'character'}) : null;
            $return['shipType'] = isset($value->{'shipType'}) ? $converters['shipType']($value->{'shipType'}) : null;
            $return['items'] = isset($value->{'items'}) ? $converters['items']($value->{'items'}) : null;
            return $return;
        };
        $this->victim = $func($victim);
    }
public function setVictim($victim)
    {
        // by Warringer\Types\Dict
        $converters = [];
        $converters['alliance'] = function ($value) { return new Reference($value); };
        $converters['faction'] = function ($value) { return new Reference($value); };
        $converters['corporation'] = function ($value) { return new Reference($value); };
        $converters['damageTaken'] = function ($value) { return $value; };
        $converters['character'] = function ($value) { return new Reference($value); };
        $converters['shipType'] = function ($value) { return new Reference($value); };
        $converters['items'] = function ($values) {
        // by Warringer\Types\Base
        $converters = [];
        $converters['singleton'] = function ($value) { return $value; };
        $converters['itemType'] = function ($value) { return new Reference($value); };
        $converters['items'] = function ($values) {
        // by Warringer\Types\Dict
        $converters = [];
        $converters['quantityDropped'] = function ($value) { return $value; };
        $converters['singleton'] = function ($value) { return $value; };
        $converters['quantityDestroyed'] = function ($value) { return $value; };
        $converters['flag'] = function ($value) { return $value; };
        $converters['itemType'] = function ($value) { return new Reference($value); };

        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['quantityDropped'] = isset($value->{'quantityDropped'}) ? $converters['quantityDropped']($value->{'quantityDropped'}) : null;
            $return['singleton'] = isset($value->{'singleton'}) ? $converters['singleton']($value->{'singleton'}) : null;
            $return['quantityDestroyed'] = isset($value->{'quantityDestroyed'}) ? $converters['quantityDestroyed']($value->{'quantityDestroyed'}) : null;
            $return['flag'] = isset($value->{'flag'}) ? $converters['flag']($value->{'flag'}) : null;
            $return['itemType'] = isset($value->{'itemType'}) ? $converters['itemType']($value->{'itemType'}) : null;
            return $return;
        };

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

        $converters['flag'] = function ($value) { return $value; };
        $converters['quantityDropped'] = function ($value) { return $value; };
        $converters['quantityDestroyed'] = function ($value) { return $value; };

        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['singleton'] = isset($value->{'singleton'}) ? $converters['singleton']($value->{'singleton'}) : null;
            $return['itemType'] = isset($value->{'itemType'}) ? $converters['itemType']($value->{'itemType'}) : null;
            $return['items'] = isset($value->{'items'}) ? $converters['items']($value->{'items'}) : null;
            $return['flag'] = isset($value->{'flag'}) ? $converters['flag']($value->{'flag'}) : null;
            $return['quantityDropped'] = isset($value->{'quantityDropped'}) ? $converters['quantityDropped']($value->{'quantityDropped'}) : null;
            $return['quantityDestroyed'] = isset($value->{'quantityDestroyed'}) ? $converters['quantityDestroyed']($value->{'quantityDestroyed'}) : null;
            return $return;
        };

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


        $func = function ($value) use($converters) {
            $return = new \ArrayObject($value, \ArrayObject::ARRAY_AS_PROPS);
            $return['alliance'] = isset($value->{'alliance'}) ? $converters['alliance']($value->{'alliance'}) : null;
            $return['faction'] = isset($value->{'faction'}) ? $converters['faction']($value->{'faction'}) : null;
            $return['corporation'] = isset($value->{'corporation'}) ? $converters['corporation']($value->{'corporation'}) : null;
            $return['damageTaken'] = isset($value->{'damageTaken'}) ? $converters['damageTaken']($value->{'damageTaken'}) : null;
            $return['character'] = isset($value->{'character'}) ? $converters['character']($value->{'character'}) : null;
            $return['shipType'] = isset($value->{'shipType'}) ? $converters['shipType']($value->{'shipType'}) : null;
            $return['items'] = isset($value->{'items'}) ? $converters['items']($value->{'items'}) : null;
            return $return;
        };
        $this->victim = $func($victim);
    }
by Warringer\Types\Dict