From d0fa8d6f63003a6cb2f1897158bc587ab2344ea3 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Thu, 13 Apr 2023 02:14:53 +0300 Subject: 1.6.0: support signals --- src/RequestMessage.php | 60 -------------------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 src/RequestMessage.php (limited to 'src/RequestMessage.php') diff --git a/src/RequestMessage.php b/src/RequestMessage.php deleted file mode 100644 index a2e196d..0000000 --- a/src/RequestMessage.php +++ /dev/null @@ -1,60 +0,0 @@ -requestData = $request_data; - $this->requestType = $request_type; - } - - /** - * @param string $password - */ - public function setPassword(string $password) - { - $this->password = $password; - } - - /** - * @param int $no - */ - public function setRequestNo(int $no) - { - $this->requestNo = $no; - } - - /** - * @return string[] - */ - protected function getContent(): array - { - $request = [ - 'type' => $this->requestType, - 'no' => $this->requestNo, - ]; - - if (!is_null($this->requestData)) - $request['data'] = (object)$this->requestData; - - if (!is_null($this->password)) - $request['password'] = $this->password; - - return $request; - } - -} \ No newline at end of file -- cgit v1.2.3