public function delete() { $contacts_collection = new ContactCollection(); $contacts_collection->delete($_GET['id']); header('Location: index.php?controller=contacts'); }