src/Phpforce/SoapClient/Soap/TypeConverter/TypeConverterCollection.php
public function getTypemap()
    {
        $typemap = array();

        foreach ($this->converters as $converter) {
            $typemap[] = array(
                'type_name' => $converter->getTypeName(),
                'type_ns'   => $converter->getTypeNamespace(),
                'from_xml'  => function($input) use ($converter) {
                    return $converter->convertXmlToPhp($input);
                },
                'to_xml'    => function($input) use ($converter) {
                    return $converter->convertPhpToXml($input);
                },
            );
        }

        return $typemap;
    }
public function getTypemap()
    {
        $typemap = array();

        foreach ($this->converters as $converter) {
            $typemap[] = array(
                'type_name' => $converter->getTypeName(),
                'type_ns'   => $converter->getTypeNamespace(),
                'from_xml'  => function($input) use ($converter) {
                    return $converter->convertXmlToPhp($input);
                },
                'to_xml'    => function($input) use ($converter) {
                    return $converter->convertPhpToXml($input);
                },
            );
        }

        return $typemap;
    }
public function getTypemap ( ) { $ typemap = array ( ) ; foreach ( $ this -> converters as $ converter ) { $ typemap [ ] = array ( 'type_name' => $ converter -> getTypeName ( ) , 'type_ns' => $ converter -> getTypeNamespace ( ) , 'from_xml' => function ( $ input ) use ( $ converter ) { return $ converter -> convertXmlToPhp ( $ input ) ; } , 'to_xml' => function ( $ input ) use ( $ converter ) { return $ converter -> convertPhpToXml ( $ input ) ; } , ) ; } return $ typemap ; }
Get this collection as a typemap that can be used in PHP's \SoapClient

@return array
Get this collection as a typemap that can be used in PHP s \ SoapClient