protected function serializeParams(array $params)
    {
        $serialized = array();
        foreach ($params as $param) {
            $serialized[] = $this->serializer->serialize($param);
        }

        return $serialized;
    }
protected function serializeParams(array $params)
    {
        $serialized = array();
        foreach ($params as $param) {
            $serialized[] = $this->serializer->serialize($param);
        }

        return $serialized;
    }
protected function serializeParams ( array $ params ) { $ serialized = array ( ) ; foreach ( $ params as $ param ) { $ serialized [ ] = $ this -> serializer -> serialize ( $ param ) ; } return $ serialized ; }
Serializes parameters.

@param array $params

@return array
Serializes parameters .