diff options
author | Александр Кирюхин <alexander@kiryukhin.su> | 2018-01-19 01:01:01 +0300 |
---|---|---|
committer | Александр Кирюхин <alexander@kiryukhin.su> | 2018-01-19 01:01:01 +0300 |
commit | 75721abf6fce65f02f73a20ab05143f8092f7921 (patch) | |
tree | f3afaf7a0b372745429a8e77f9ebe734f4a55931 /src/Types/KeyValue.php |
Initial
Diffstat (limited to 'src/Types/KeyValue.php')
-rw-r--r-- | src/Types/KeyValue.php | 48 |
1 files changed, 48 insertions, 0 deletions
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 @@ +<?php +/** + * @author: Alexander Kiryukhin <alexander@kiryukhin.su> + * @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 |