eZ\Publish\Core\Persistence\Legacy\Content\UrlWildcard\Gateway\ExceptionConversion::deleteUrlWildcard PHP Method

deleteUrlWildcard() public method

Deletes the UrlWildcard with given $id.
public deleteUrlWildcard ( mixed $id )
$id mixed
    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);
        }
    }