src/xPDO/Transport/xPDOVehicle.php
public function register(& $transport) {
        $vPackage = isset($this->payload['vehicle_package']) ? $this->payload['vehicle_package'] : '';
        $vClass = isset($this->payload['vehicle_class']) ? $this->payload['vehicle_class'] : $this->class;
        $class = isset($this->payload['class']) ? $this->payload['class'] : $vClass;
        $entry = array(
            'vehicle_package' => $vPackage,
            'vehicle_class' => $vClass,
            'class' => $class,
            'guid' => $this->payload['guid'],
            'native_key' => array_key_exists('native_key', $this->payload) ? $this->payload['native_key'] : null,
            'filename' => str_replace('\\', '/', $class) . '/' . $this->payload['filename'],
        );
        if (isset($this->payload['namespace'])) {
            $entry['namespace'] = $this->payload['namespace'];
        }
        return $entry;
    }
public function register(& $transport) {
        $vPackage = isset($this->payload['vehicle_package']) ? $this->payload['vehicle_package'] : '';
        $vClass = isset($this->payload['vehicle_class']) ? $this->payload['vehicle_class'] : $this->class;
        $class = isset($this->payload['class']) ? $this->payload['class'] : $vClass;
        $entry = array(
            'vehicle_package' => $vPackage,
            'vehicle_class' => $vClass,
            'class' => $class,
            'guid' => $this->payload['guid'],
            'native_key' => array_key_exists('native_key', $this->payload) ? $this->payload['native_key'] : null,
            'filename' => str_replace('\\', '/', $class) . '/' . $this->payload['filename'],
        );
        if (isset($this->payload['namespace'])) {
            $entry['namespace'] = $this->payload['namespace'];
        }
        return $entry;
    }
public function register ( & $ transport ) { $ vPackage = isset ( $ this -> payload [ 'vehicle_package' ] ) ? $ this -> payload [ 'vehicle_package' ] : '' ; $ vClass = isset ( $ this -> payload [ 'vehicle_class' ] ) ? $ this -> payload [ 'vehicle_class' ] : $ this -> class ; $ class = isset ( $ this -> payload [ 'class' ] ) ? $ this -> payload [ 'class' ] : $ vClass ; $ entry = array ( 'vehicle_package' => $ vPackage , 'vehicle_class' => $ vClass , 'class' => $ class , 'guid' => $ this -> payload [ 'guid' ] , 'native_key' => array_key_exists ( 'native_key' , $ this -> payload ) ? $ this -> payload [ 'native_key' ] : null , 'filename' => str_replace ( '\\' , '/' , $ class ) . '/' . $ this -> payload [ 'filename' ] , ) ; if ( isset ( $ this -> payload [ 'namespace' ] ) ) { $ entry [ 'namespace' ] = $ this -> payload [ 'namespace' ] ; } return $ entry ; }
Build a manifest entry to be registered in a transport for this vehicle.

@param xPDOTransport &$transport The xPDOTransport instance to register
the vehicle into.
@return array An array of vehicle attributes that will be registered into
an xPDOTransport manifest.
Build a manifest entry to be registered in a transport for this vehicle .