aboutsummaryrefslogblamecommitdiff
path: root/src/Types/KeyValue.php
blob: 54b0360e720fe0ba9f5d227b472f199c49386589 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
     

                        






                                                        



                               
















                            
                                                    















                                    
                              



                            
<?php
declare(strict_types=1);

/**
 * @author: Alexander Kiryukhin <alexander@kiryukhin.su>
 * @license: MIT
 */

namespace NeonXP\Dotenv\Types;

/**
 * Class KeyValue
 * @package 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, $value)
    {
        $this->key = $key;
        $this->value = $value;
    }

    /**
     * @return string
     */
    public function getKey(): string
    {
        return $this->key;
    }

    /**
     * @return mixed
     */
    public function getValue()
    {
        return $this->value;
    }
}