src/EmptyLine.php
<?php
/**
* This file is part of the Nginx Config Processor package.
*
* (c) Roman Piták <roman@pitak.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
*/
namespace RomanPitak\Nginx\Config;
class EmptyLine extends Printable
{
public static function fromString(Text $configString)
{
$configString->gotoNextEol();
return new self;
}
public function prettyPrint($indentLevel, $spacesPerIndent = 4)
{
return "\n";
}
}