count = $count; parent::__construct("{$count} items were found.", $code, $previous); } /** * Get the number of items found. */ public function getCount(): int { return $this->count; } }