eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Gateway\ExceptionConversion::reparent PHP Method

reparent() public method

Update includes history entries.
public reparent ( mixed $oldParentId, mixed $newParentId )
$oldParentId mixed
$newParentId mixed
    public function reparent($oldParentId, $newParentId)
    {
        try {
            $this->innerGateway->reparent($oldParentId, $newParentId);
        } catch (DBALException $e) {
            throw new \RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new \RuntimeException('Database error', 0, $e);
        }
    }