original_string: public function resize($dropletId, array $parameters)
      {
          if (!array_key_exists('size_id', $parameters) || !is_int($parameters['size_id'])) {
              throw new \InvalidArgumentException('You need to provide an integer "size_id".');
          }
  
          return $this->processQuery($this->buildQuery($dropletId, DropletsActions::ACTION_RESIZE, $parameters));
      }
code: public function resize($dropletId, array $parameters)
      {
          if (!array_key_exists('size_id', $parameters) || !is_int($parameters['size_id'])) {
              throw new \InvalidArgumentException('You need to provide an integer "size_id".');
          }
  
          return $this->processQuery($this->buildQuery($dropletId, DropletsActions::ACTION_RESIZE, $parameters));
      }
code_tokens: public function resize ( $ dropletId , array $ parameters ) { if ( ! array_key_exists ( 'size_id' , $ parameters ) || ! is_int ( $ parameters [ 'size_id' ] ) ) { throw new \ InvalidArgumentException ( 'You need to provide an integer "size_id".' ) ; } return $ this -> processQuery ( $ this -> buildQuery ( $ dropletId , DropletsActions :: ACTION_RESIZE , $ parameters ) ) ; }
docstring: Resizes a specific droplet to a different size.
  This will affect the number of processors and memory allocated to the droplet.
  The size_id key is required.
  
  @param integer $dropletId  The id of the droplet.
  @param array   $parameters An array of parameters.
  
  @return StdClass
  
  @throws \InvalidArgumentException
docstring_tokens: Resizes a specific droplet to a different size . This will affect the number of processors and memory allocated to the droplet . The size_id key is required .