public function removeCountPart(SingleQueryReportCountPart $part) { $part->setSingleQueryReport($this); $this->countParts->remove($part); }