5use InvalidArgumentException;
32 $mb = $this->getMockBuilder( AuthenticationRequest::class )
33 ->setMethods( [
'getUniqueId' ] );
34 for ( $i = 1; $i <= 3; $i++ ) {
35 $req = $mb->getMockForAbstractClass();
36 $req->expects( $this->
any() )->method(
'getUniqueId' )
37 ->will( $this->returnValue(
"Request$i" ) );
51 [
'linkRequests' => $reqs ],
55 [
'confirmedLinkIDs' => [
'Request1',
'Request3' ] ],
56 [
'confirmedLinkIDs' => [
'Request1',
'Request3' ],
'linkRequests' => $reqs ],
64 get_class(
$req ) .
':Request1|Request2|Request3',
they could even be mouse clicks or menu items whatever suits your program You should also get your if any
this hook is for auditing only $req
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))