public function prepareParams($params)
    {
        $values['street'] = isset($params['street'])?trim((string)$params['street']):null;
        $values['number'] = isset($params['number'])?trim((string)$params['number']):null;
        $values['latitude'] = isset($params['latitude'])?(double)$params['latitude']:null;
        $values['longitude'] = isset($params['longitude'])?(double)$params['longitude']:null;
        $values['id'] = $this->getId($values);
        return $values;
    }
public function prepareParams($params)
    {
        $values['street'] = isset($params['street'])?trim((string)$params['street']):null;
        $values['number'] = isset($params['number'])?trim((string)$params['number']):null;
        $values['latitude'] = isset($params['latitude'])?(double)$params['latitude']:null;
        $values['longitude'] = isset($params['longitude'])?(double)$params['longitude']:null;
        $values['id'] = $this->getId($values);
        return $values;
    }
public function prepareParams ( $ params ) { $ values [ 'street' ] = isset ( $ params [ 'street' ] ) ? trim ( ( string ) $ params [ 'street' ] ) : null ; $ values [ 'number' ] = isset ( $ params [ 'number' ] ) ? trim ( ( string ) $ params [ 'number' ] ) : null ; $ values [ 'latitude' ] = isset ( $ params [ 'latitude' ] ) ? ( double ) $ params [ 'latitude' ] : null ; $ values [ 'longitude' ] = isset ( $ params [ 'longitude' ] ) ? ( double ) $ params [ 'longitude' ] : null ; $ values [ 'id' ] = $ this -> getId ( $ values ) ; return $ values ; }
Prepare parameters.

@param array $params
@return array
Prepare parameters .