/**
* API PHP's var_export() output formatter
+ * @deprecated since 1.24
* @ingroup API
*/
class ApiFormatDbg extends ApiFormatBase {
}
public function execute() {
+ $this->markDeprecated();
$this->printText( var_export( $this->getResultData(), true ) );
}
- public function getDescription() {
- return 'Output data in PHP\'s var_export() format' . parent::getDescription();
+ public function isDeprecated() {
+ return true;
}
}