concrete/src/Entity/File/File.php
public function getFileSets()
    {
        $filesets = [];
        foreach ($this->getFileSetIDs() as $fsID) {
            $fs = FileSet::getByID($fsID);
            if ($fs !== null) {
                $filesets[] = $fs;
            }
        }

        return $filesets;
    }
public function getFileSets()
    {
        $filesets = [];
        foreach ($this->getFileSetIDs() as $fsID) {
            $fs = FileSet::getByID($fsID);
            if ($fs !== null) {
                $filesets[] = $fs;
            }
        }

        return $filesets;
    }
public function getFileSets ( ) { $ filesets = [ ] ; foreach ( $ this -> getFileSetIDs ( ) as $ fsID ) { $ fs = FileSet :: getByID ( $ fsID ) ; if ( $ fs !== null ) { $ filesets [ ] = $ fs ; } } return $ filesets ; }
Get the file sets that this file belongs to.

@return FileSet[]
Get the file sets that this file belongs to .