/** * @param $string * @param ICookie $cookie */ protected function writeValue(&$string, ICookie $cookie) { $string .= s('%s=%s;', $cookie->getName(), $cookie->getValue()); }