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