public function getRecord(int $recordID)
    {
        foreach ($this->getRecords() as $key => $record) {
            if ($record[$this->primaryKey] == $recordID) {
                return $record;
            }
        }

        return null;
    }