/** * Update the response meta values with the data contained within an array. * * @param array $data * @param sfWebResponse $sf_response * @return void */ public static function setCommonMetas(array $data, sfWebResponse $sf_response) { foreach ($data as $key => $value) { $sf_response->addMeta($key, $value); } }