public function getAllIds(): array
    {
        $result = [];
        foreach ($this->getExported() as $entity) {
            $result[$entity->getId()] = $entity;

            foreach ($entity->getExportChildren() as $child) {
                $result[$child->getId()] = $child;
            }
        }
        return array_keys($result);
    }
public function getAllIds(): array
    {
        $result = [];
        foreach ($this->getExported() as $entity) {
            $result[$entity->getId()] = $entity;

            foreach ($entity->getExportChildren() as $child) {
                $result[$child->getId()] = $child;
            }
        }
        return array_keys($result);
    }
public function getAllIds ( ) : array { $ result = [ ] ; foreach ( $ this -> getExported ( ) as $ entity ) { $ result [ $ entity -> getId ( ) ] = $ entity ; foreach ( $ entity -> getExportChildren ( ) as $ child ) { $ result [ $ child -> getId ( ) ] = $ child ; } } return array_keys ( $ result ) ; }
Fetches all entity ID's including childen

@return int[]
Fetches all entity ID s including childen