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