/** * Deletes the UrlWildcard with given $id. * * @param mixed $id */ public function deleteUrlWildcard($id) { try { return $this->innerGateway->deleteUrlWildcard($id); } catch (DBALException $e) { throw new \RuntimeException('Database error', 0, $e); } catch (PDOException $e) { throw new \RuntimeException('Database error', 0, $e); } }
/** * removes an url wildcard * * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException if the url wild card was not found * * @param mixed $id */ public function remove($id) { $this->gateway->deleteUrlWildcard($id); }