diff options
| author | Kevin J Hoerr <kjhoerr@submelon.tech> | 2018-08-26 01:38:28 -0400 |
|---|---|---|
| committer | Kevin Hoerr <kjhoerr@submelon.tech> | 2018-08-31 23:24:45 -0400 |
| commit | 0965d62be00a7820f97284704dc71f37e661b412 (patch) | |
| tree | 5a5c9d69062e24aa926eb30447c5ff27e0a65492 /private/Model/Result.php | |
| parent | 1e3946f04b5b602d3869a285d897acb0ba2b3c35 (diff) | |
| download | august-offensive-0965d62be00a7820f97284704dc71f37e661b412.tar.gz august-offensive-0965d62be00a7820f97284704dc71f37e661b412.tar.bz2 august-offensive-0965d62be00a7820f97284704dc71f37e661b412.zip | |
Begin migration to Rust; Add actix-web, diesel as main dependencies
Diffstat (limited to 'private/Model/Result.php')
| -rw-r--r-- | private/Model/Result.php | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/private/Model/Result.php b/private/Model/Result.php deleted file mode 100644 index ac08821..0000000 --- a/private/Model/Result.php +++ /dev/null @@ -1,52 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace AugustOffensive\Model; -/** - * Result object for storing information to send back to the client. - */ -class Result -{ - /** @var string $resultType the type of result to return to the client. */ - private $resultType; - - /** @var array $result */ - private $result; - - /** - * Store result information. - * - * @param string $resultType The type of result to send back to the client. - * @param array $result The result object to send back to the client. - * - * @return Result - */ - public function __construct (string $resultType, array $result) - { - $this->resultType = $resultType; - $this->result = $result; - - return $this; - } - - /** - * Returns the result type of the Result. - * - * @return string - */ - public function getResultType (): string - { - return $this->resultType; - } - - /** - * Returns the result array of the Result. - * - * @return array - */ - public function getResult (): array - { - return $this->result; - } -}
\ No newline at end of file |
