Why you dont provide a getter to access the resource property ? Because there is no difference between $archive->getPath() and $archive->getFileResource()->getResource()