protected function declareListOfBlocks($blocks)
    {
        foreach ( $blocks as $block ) {
            try {
                $this->getSoapClient()->SetBlockFieldValues(array(
                    'blockName'        => $block->getName() ,
                    'blockFieldValues' => $this->getSoapClient()->convertArray($block->retrieveValues())
                ));
            } catch ( SoapException $ex ) {
                $s = '';
                if ( ! is_null($block->getName()) ) {
                    $s.= " (block: {$block->getName()})";
                }
                throw new DeclarationException("Error while sending blocks informations to Livedocx service" . $s , $ex);
            }
        }
        return $this;
    }