original_string: public function snapshot($dropletId, array $parameters = array())
      {
          return $this->processQuery($this->buildQuery($dropletId, DropletsActions::ACTION_SNAPSHOT, $parameters));
      }
code: public function snapshot($dropletId, array $parameters = array())
      {
          return $this->processQuery($this->buildQuery($dropletId, DropletsActions::ACTION_SNAPSHOT, $parameters));
      }
code_tokens: public function snapshot ( $ dropletId , array $ parameters = array ( ) ) { return $ this -> processQuery ( $ this -> buildQuery ( $ dropletId , DropletsActions :: ACTION_SNAPSHOT , $ parameters ) ) ; }
docstring: Takes a snapshot of the running droplet, which can later be restored or
  used to create a new droplet from the same image.
  Please be aware this may cause a reboot.
  The name key is optional.
  
  @param integer $dropletId  The id of the droplet.
  @param array   $parameters An array of parameters (optional).
  
  @return StdClass
docstring_tokens: Takes a snapshot of the running droplet which can later be restored or used to create a new droplet from the same image . Please be aware this may cause a reboot . The name key is optional .