for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Pluswerk\TypoScriptAutoFixer\Fixer\NestingConsistency;
final class Tree
{
/**
* @var NodeCollection
*/
private $nodes;
* @var int
private $startLine;
private $endLine;
* Tree constructor.
*
* @param NodeCollection $nodes
* @param int $startLine
* @param int $endLine
public function __construct(NodeCollection $nodes, int $startLine, int $endLine)
$this->nodes = $nodes;
$this->startLine = $startLine;
$this->endLine = $endLine;
}
* @return NodeCollection
public function nodes(): NodeCollection
return $this->nodes;
* @return int
public function startLine(): int
return $this->startLine;
public function endLine(): int
return $this->endLine;