src/acdhOeaw/fedora/FedoraResource.php
public function getFedoraChildren(): array {
        $children = [];
        foreach ($this->getMetadata()->allResources(self::CONTAINS_PROP) as $i) {
            $children[] = $this->fedora->getResourceByUri($i->getUri());
        }
        return $children;
    }
public function getFedoraChildren(): array {
        $children = [];
        foreach ($this->getMetadata()->allResources(self::CONTAINS_PROP) as $i) {
            $children[] = $this->fedora->getResourceByUri($i->getUri());
        }
        return $children;
    }
public function getFedoraChildren ( ) : array { $ children = [ ] ; foreach ( $ this -> getMetadata ( ) -> allResources ( self :: CONTAINS_PROP ) as $ i ) { $ children [ ] = $ this -> fedora -> getResourceByUri ( $ i -> getUri ( ) ) ; } return $ children ; }
Returns all resource's Fedora children.

A Fedora child is a resource pointed by the ldp:contains triple.
All Fedora children URIs are nested in the parent's URI path but the
deepness of such nesting can vary (e.g. both http://a/b and http://a/b/c/d
can be Fedora children of the http://a depenging on how they were created).

Fedora's parent-child relation is automatically maintained by the Fedora
and depends on the way Fedora resources are created.

@return array
Returns all resource s Fedora children .