<?php

namespace AutoAdmin\Bundle\Content\Hierarchy\Model\Interfaces;

use AutoAdmin\Bundle\Content\Entity\ContentReference;
use Doctrine\Common\Collections\Collection;

// todo: not implemented, feature draft
interface ExternalHierarchyInterface
{
    // todo: permit to reference another contentType+id, maybe using contentReferences
    // todo: load hierarchy fields using doctrine listeners to populate fields
    public function getParent(): ?ContentReference;
//    public function getChildren(): ?Collection;
}
