public function findByFileId($fileId)
    {
        foreach ($this->volumes as $volume) {
            try {
                $file = $volume->findFile($fileId);
                if ($file) {
                    return $volume;
                }
            } catch (\Exception $e) {
            }
        }

        return null;
    }
public function findByFileId($fileId)
    {
        foreach ($this->volumes as $volume) {
            try {
                $file = $volume->findFile($fileId);
                if ($file) {
                    return $volume;
                }
            } catch (\Exception $e) {
            }
        }

        return null;
    }
public function findByFileId ( $ fileId ) { foreach ( $ this -> volumes as $ volume ) { try { $ file = $ volume -> findFile ( $ fileId ) ; if ( $ file ) { return $ volume ; } } catch ( \ Exception $ e ) { } } return null ; }
Return volume by file ID.

@param string $fileId

@return Volume
Return volume by file ID .