Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4110158
NullBodyValidator.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
377 B
Referenced Files
None
Subscribers
None
NullBodyValidator.php
View Options
<?php
namespace
MediaWiki\Rest\Validator
;
use
MediaWiki\Rest\RequestInterface
;
/**
* Do-nothing body validator
*
* @deprecated since 1.43, because Handler::getBodyValidator() is deprecated.
*/
class
NullBodyValidator
implements
BodyValidator
{
/**
* @inheritDoc
* @return null
*/
public
function
validateBody
(
RequestInterface
$request
)
{
return
null
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Aug 18, 21:35 (3 d, 4 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
44/01/ab40e642ec8991c41179eabce5e2
Default Alt Text
NullBodyValidator.php (377 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment