Initial commit

This commit is contained in:
Michał Brzuchalski
2016-06-10 13:19:45 +02:00
commit 09139d2b14
28 changed files with 1561 additions and 0 deletions

24
src/Node/Literal.php Normal file
View File

@@ -0,0 +1,24 @@
<?php
/**
* Created by PhpStorm.
* User: mbrzuchalski
* Date: 08.04.16
* Time: 10:32
*/
namespace Madkom\NginxConfigurator\Node;
/**
* Class Literal
* @package Madkom\NginxConfigurator
* @author Michał Brzuchalski <m.brzuchalski@madkom.pl>
*/
class Literal extends Param
{
/**
* @return string
*/
public function __toString() : string
{
return '"' . addslashes($this->value) . '"';
}
}