src/xPDO/Transport/xPDOTransport.php
protected static function _convertManifestVer1_0($manifestVehicles) {
        $manifest = array();
        foreach ($manifestVehicles as $vClass => $vehicles) {
            foreach ($vehicles as $vKey => $vehicle) {
                $entry = array(
                    'class' => $vClass,
                    'native_key' => $vehicle['native_key'],
                    'filename' => $vehicle['filename'],
                );
                if (isset($vehicle['namespace'])) {
                    $entry['namespace'] = $vehicle['namespace'];
                }
                $manifest[] = $entry;
            }
        }
        return $manifest;
    }
protected static function _convertManifestVer1_0($manifestVehicles) {
        $manifest = array();
        foreach ($manifestVehicles as $vClass => $vehicles) {
            foreach ($vehicles as $vKey => $vehicle) {
                $entry = array(
                    'class' => $vClass,
                    'native_key' => $vehicle['native_key'],
                    'filename' => $vehicle['filename'],
                );
                if (isset($vehicle['namespace'])) {
                    $entry['namespace'] = $vehicle['namespace'];
                }
                $manifest[] = $entry;
            }
        }
        return $manifest;
    }
protected static function _convertManifestVer1_0 ( $ manifestVehicles ) { $ manifest = array ( ) ; foreach ( $ manifestVehicles as $ vClass => $ vehicles ) { foreach ( $ vehicles as $ vKey => $ vehicle ) { $ entry = array ( 'class' => $ vClass , 'native_key' => $ vehicle [ 'native_key' ] , 'filename' => $ vehicle [ 'filename' ] , ) ; if ( isset ( $ vehicle [ 'namespace' ] ) ) { $ entry [ 'namespace' ] = $ vehicle [ 'namespace' ] ; } $ manifest [ ] = $ entry ; } } return $ manifest ; }
Converts older manifest vehicles to 1.0 format.

@static
@access private
@param array $manifestVehicles A structure representing vehicles from a pre-1.0 manifest
format.
@return array Vehicle definition structures converted to 1.0 format.
Converts older manifest vehicles to 1 . 0 format .