mirror of
https://github.com/envoyr/nginx-configurator.git
synced 2026-04-28 20:34:06 +00:00
48 lines
756 B
PHP
48 lines
756 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: mbrzuchalski
|
|
* Date: 08.04.16
|
|
* Time: 10:31
|
|
*/
|
|
namespace Envoyr\NginxConfigurator\Node;
|
|
|
|
/**
|
|
* Class Param
|
|
* @package Envoyr\NginxConfigurator
|
|
* @author Michał Brzuchalski <m.brzuchalski@madkom.pl>
|
|
*/
|
|
class Param
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $value;
|
|
|
|
/**
|
|
* Param constructor.
|
|
* @param string $value
|
|
*/
|
|
public function __construct(string $value)
|
|
{
|
|
$this->value = $value;
|
|
}
|
|
|
|
/**
|
|
* Retrieve param value
|
|
* @return string
|
|
*/
|
|
public function getValue() : string
|
|
{
|
|
return $this->value;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function __toString() : string
|
|
{
|
|
return $this->value;
|
|
}
|
|
}
|