Guillermo Giuliana 6a34c24d7d
update script and change 4.6 to 4.7 (#809)
* update script and change 4.6 to 4.7

* fix 4.7.0 script
2020-06-16 21:26:04 -03:00

24 lines
444 B
PHP
Executable File

<?php
/**
* @api {OBJECT} Ban Ban
* @apiVersion 4.7.0
* @apiGroup Data Structures
* @apiParam {Email} email The email address that is banned.
*/
class Ban extends DataStore {
const TABLE = 'ban';
public static function getProps() {
return array (
'email'
);
}
public function getDefaultProps() {
return array();
}
public function toArray() {
return $this->email;
}
}