original_string: public function update($id, $data)
      {
          $sections = empty($data['sections']) ? [] : $data['sections'];
  
          return $this->_sendPayload(
              $this->_getService($this->_pageServiceKey)->updateTemplateSections($id, $sections)
          );
      }
code: public function update($id, $data)
      {
          $sections = empty($data['sections']) ? [] : $data['sections'];
  
          return $this->_sendPayload(
              $this->_getService($this->_pageServiceKey)->updateTemplateSections($id, $sections)
          );
      }
code_tokens: public function update ( $ id , $ data ) { $ sections = empty ( $ data [ 'sections' ] ) ? [ ] : $ data [ 'sections' ] ; return $ this -> _sendPayload ( $ this -> _getService ( $ this -> _pageServiceKey ) -> updateTemplateSections ( $ id , $ sections ) ) ; }
docstring: Update section details
  
  @param mixed $id
  @param mixed $data
  
  @return mixed|\Zend\View\Model\ModelInterface
docstring_tokens: Update section details