src/acdhOeaw/fedora/FedoraResource.php
public function getChildrenByPropertyRegEx(string $property, string $regEx,
                                               string $flags = 'i'): array {
        $query = $this->getChildrenQuery();
        $query->addParameter(new MatchesRegEx($property, $regEx, $flags));
        return $this->fedora->getResourcesByQuery($query);
    }
public function getChildrenByPropertyRegEx(string $property, string $regEx,
                                               string $flags = 'i'): array {
        $query = $this->getChildrenQuery();
        $query->addParameter(new MatchesRegEx($property, $regEx, $flags));
        return $this->fedora->getResourcesByQuery($query);
    }
public function getChildrenByPropertyRegEx ( string $ property , string $ regEx , string $ flags = 'i' ) : array { $ query = $ this -> getChildrenQuery ( ) ; $ query -> addParameter ( new MatchesRegEx ( $ property , $ regEx , $ flags ) ) ; return $ this -> fedora -> getResourcesByQuery ( $ query ) ; }
Returns all resource's children with a given property matching a given
regular expression

It is assumed that child-parent relations are denoted by:
`child -> config::relProp -> id <- config::idProp <- parent`
metadata properties scheme.

@param string $property fully qualified URI of the property
@param string $regEx regular expression to match
@param string $flags regular expression flags
@return array
Returns all resource s children with a given property matching a given regular expression