MediaWiki REL1_34
ApiSerializable.php
Go to the documentation of this file.
1<?php
35interface ApiSerializable {
44 public function serializeForApiResult();
45}
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.