lib/bagit_manifest.php
private function _resetFileName($fileName=null)
    {
        if ($fileName === null) {
            return $this->fileName;
        } else {
            $this->hashEncoding = $this->_parseHashEncoding($fileName);
            $this->fileName = $fileName;
            return $fileName;
        }
    }
private function _resetFileName($fileName=null)
    {
        if ($fileName === null) {
            return $this->fileName;
        } else {
            $this->hashEncoding = $this->_parseHashEncoding($fileName);
            $this->fileName = $fileName;
            return $fileName;
        }
    }
private function _resetFileName ( $ fileName = null ) { if ( $ fileName === null ) { return $ this -> fileName ; } else { $ this -> hashEncoding = $ this -> _parseHashEncoding ( $ fileName ) ; $ this -> fileName = $ fileName ; return $ fileName ; } }
This returns the file name to use.

If a file name is passed into this function, that will be used.
Otherwise, the current value of the $fileName property will be used.

@param string $fileName If given, then this file name will be used;
otherwise, the $fileName property will be used.

@return string The file name to use for the $fileName property.
This returns the file name to use .