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