From 75721abf6fce65f02f73a20ab05143f8092f7921 Mon Sep 17 00:00:00 2001 From: Александр Кирюхин Date: Fri, 19 Jan 2018 01:01:01 +0300 Subject: Initial --- src/Types/KeyValue.php | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/Types/KeyValue.php (limited to 'src/Types') diff --git a/src/Types/KeyValue.php b/src/Types/KeyValue.php new file mode 100644 index 0000000..e17dc4d --- /dev/null +++ b/src/Types/KeyValue.php @@ -0,0 +1,48 @@ + + * @license: MIT + */ + +namespace NeonXP\Dotenv\Types; + + +class KeyValue +{ + /** + * @var string + */ + private $key; + + /** + * @var string + */ + private $value; + + /** + * KeyValue constructor. + * @param string $key + * @param mixed $value + */ + public function __construct(string $key, mixed $value) + { + $this->key = $key; + $this->value = $value; + } + + /** + * @return string + */ + public function getKey(): string + { + return $this->key; + } + + /** + * @return mixed + */ + public function getValue(): mixed + { + return $this->value; + } +} \ No newline at end of file -- cgit v1.2.3