/** * */ protected function toFormUrl() { $formUrlCodec = new FormUrlCodec(); return $formUrlCodec->encode($this); }
/** * Encodes an object as a Form URL encoded string. * * @param $object * the object to be represented as a Form URL encoded string. * * @return string * a string containing the Form URL representation of the object. */ private static function formUrlEncode($object) { return FormUrlCodec::encode($object); }