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