original_string: private function hydrate($data = array()) {
          foreach ($data as $key => $value) {
              $method = "set" . ucfirst($key);
              if (method_exists($this, $method)) {
                  call_user_func(array($this, $method), $value);
              }
          }
      }
code: private function hydrate($data = array()) {
          foreach ($data as $key => $value) {
              $method = "set" . ucfirst($key);
              if (method_exists($this, $method)) {
                  call_user_func(array($this, $method), $value);
              }
          }
      }
code_tokens: private function hydrate ( $ data = array ( ) ) { foreach ( $ data as $ key => $ value ) { $ method = "set" . ucfirst ( $ key ) ; if ( method_exists ( $ this , $ method ) ) { call_user_func ( array ( $ this , $ method ) , $ value ) ; } } }
docstring: Hydate options from given array
  
  @param array $data Array of options.
  @return self
docstring_tokens: Hydate options from given array