MediaWiki  master
ApiSerializable.php
Go to the documentation of this file.
1 <?php
37 interface ApiSerializable {
46  public function serializeForApiResult();
47 }
ApiSerializable
This interface allows for overriding the default conversion applied by ApiResult::validateValue().
Definition: ApiSerializable.php:37
ApiSerializable\serializeForApiResult
serializeForApiResult()
Return the value to be added to ApiResult in place of this object.