public function __construct(Location $location, $childCount) { $this->location = $location; $this->childCount = $childCount; }