for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace StefanoTree\NestedSet;
class NodeInfo
{
private $id;
private $parentId;
private $level;
private $left;
private $right;
public function __construct($id, $parentId, $level, $left, $right)
$this->id = $id;
$this->parentId = $parentId;
$this->level = $level;
$this->left = $left;
$this->right = $right;
}
/**
* @return int|null
*/
public function getId()
return $this->id;
public function getParentId()
return $this->parentId;
public function getLevel()
return $this->level;
public function getLeft()
return $this->left;
public function getRight()
return $this->right;