public function __construct(TrashItem $trashItem, $childCount) { $this->trashItem = $trashItem; $this->childCount = $childCount; }