lib/bagit.php
private function _readBagInfo()
    {
        try {
            $lines = readLines($this->bagInfoFile, $this->tagFileEncoding);
            $this->bagInfoData = BagIt_parseBagInfo($lines);
        } catch (Exception $exc) {
            array_push(
                $this->bagErrors,
                array('baginfo', 'Error reading bag info file.')
            );
        }
    }
private function _readBagInfo()
    {
        try {
            $lines = readLines($this->bagInfoFile, $this->tagFileEncoding);
            $this->bagInfoData = BagIt_parseBagInfo($lines);
        } catch (Exception $exc) {
            array_push(
                $this->bagErrors,
                array('baginfo', 'Error reading bag info file.')
            );
        }
    }
private function _readBagInfo ( ) { try { $ lines = readLines ( $ this -> bagInfoFile , $ this -> tagFileEncoding ) ; $ this -> bagInfoData = BagIt_parseBagInfo ( $ lines ) ; } catch ( Exception $ exc ) { array_push ( $ this -> bagErrors , array ( 'baginfo' , 'Error reading bag info file.' ) ) ; } }
This reads the bag-info.txt file into an array dictionary.

@return void
This reads the bag - info . txt file into an array dictionary .