Page MenuHomeWickedGov Phorge

MWCA.php
No OneTemporary

Size
478 B
Referenced Files
None
Subscribers
None

MWCA.php

<?php
// This class is intentionally not in the normal CentralAuth namespace, for easy access.
use MediaWiki\Extension\CentralAuth\User\CentralAuthUser;
/**
* Debug helper class for CentralAuth.
* @see MW
* @internal must not be used in code, anywhere
*/
class MWCA {
public static function user( string $username ): CentralAuthUser {
$cu = CentralAuthUser::getPrimaryInstanceByName( $username );
// Make sure the data is loaded
$cu->getId();
return $cu;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 21, 20:33 (1 d, 10 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f0/2c/d805dbefeba6878fb81620fff728
Default Alt Text
MWCA.php (478 B)

Event Timeline