From 4806fad728116cbd6b440eb285fcbcc867a62b84 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 6 May 2019 00:35:18 +0400 Subject: Did a deep refactoring main class in the plugin Signed-off-by: Valentin Popov --- classes/record.php | 80 ------------------------------------------------------ 1 file changed, 80 deletions(-) delete mode 100644 classes/record.php (limited to 'classes/record.php') diff --git a/classes/record.php b/classes/record.php deleted file mode 100644 index 238fd2c..0000000 --- a/classes/record.php +++ /dev/null @@ -1,80 +0,0 @@ -. - -namespace local_webhooks\local; - -defined('MOODLE_INTERNAL') || die(); - -use stdClass; -use function defined; - -/** - * It's a class description record. - * - * @copyright 2019 'Valentin Popov' - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - * @package local_webhooks\local\local_webhooks_record - */ -final class local_webhooks_record extends stdClass { - /** - * List of some events. - * - * @var array|null - */ - public $events; - - /** - * Type of the package. - * - * @var string - */ - public $header; - - /** - * A unique identifier of the service. - * - * @var int|null - */ - public $id; - - /** - * Name of the service. - * - * @var string - */ - public $name; - - /** - * Url's an endpoint to send notifications. - * - * @var string - */ - public $point; - - /** - * Status activity of the service. - * - * @var bool - */ - public $status; - - /** - * Secret key of the service. - * - * @var string - */ - public $token; -} \ No newline at end of file -- cgit v1.2.3