protected function applySubtreeLimitation(DatabaseQuery $query, $rootLocationId) { $query->where($query->expr->like($this->handler->quoteColumn('path_string', 'ezcontentobject_tree'), $query->bindValue('%/' . $rootLocationId . '/%'))); }