$this->protocol = $protocol;
}
- /**
- * @param string $method
- * @throws MWException
- */
- private function notImplemented( $method ) {
- throw new MWException( "{$method}() not implemented" );
- }
-
/**
* @param string $name
* @param string $default
}
/**
+ * @since 1.26
* @param string $name Unprefixed name of the cookie to set
* @param string|null $value Value of the cookie to set
* @param string|null $prefix Cookie prefix. Defaults to $wgCookiePrefix
}
/**
+ * @since 1.26
* @param array $cookies
* @param string|null $prefix Cookie prefix. Defaults to $wgCookiePrefix
*/
return $this->protocol;
}
- private function initHeaders() {
- return;
- }
-
/**
* @param string $name
* @param string $val
}
/**
+ * @since 1.26
* @param array $headers
*/
public function setHeaders( $headers ) {