Exemplo n.º 1
0
 public function removePackage(Package $package)
 {
     $sql = "DELETE FROM " . $this->getTablePrefix() . "package WHERE id = ?";
     $stmt = $this->pdo->prepare($sql);
     $stmt->execute(array($package->getId()));
 }