MediaWiki  master
GetCacheVaryCookiesHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use OutputPage;
6 
22  public function onGetCacheVaryCookies( $out, &$cookies );
23 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\GetCacheVaryCookiesHook
Stable to implement.
Definition: GetCacheVaryCookiesHook.php:11
MediaWiki\Hook\GetCacheVaryCookiesHook\onGetCacheVaryCookies
onGetCacheVaryCookies( $out, &$cookies)
Use this hook to get cookies that should vary cache options.
OutputPage
This is one of the Core classes and should be read at least once by any new developers.
Definition: OutputPage.php:47