MediaWiki  master
WebResponseSetCookieHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
24  public function onWebResponseSetCookie( &$name, &$value, &$expire, &$options );
25 }
This is a hook handler interface, see docs/Hooks.md.
onWebResponseSetCookie(&$name, &$value, &$expire, &$options)
This hook is called when setting a cookie in WebResponse::setcookie().