src/snac/util/EACCPFParser.php
/**
     * Parse a file into an identity constellation.
     *
     * @param string $filename Filename of the file to parse
     * @return \snac\data\Constellation The resulting constellation
     */
Parse a file into an identity constellation.
@param string $filename Filename of the file to parse
@return \snac\data\Constellation The resulting constellation
Parse a file into an identity constellation . @param string $filename Filename of the file to parse @return \ snac \ data \ Constellation The resulting constellation
public function parseFile($filename) {
        try {
            return $this->parse(file_get_contents($filename));
        } catch (\Exception $e) {
            throw new \snac\exceptions\SNACParserException($e);
        }
    }
public function parseFile ( $ filename ) { try { return $ this -> parse ( file_get_contents ( $ filename ) ) ; } catch ( \ Exception $ e ) { throw new \ snac \ exceptions \ SNACParserException ( $ e ) ; } }
Parse a file into an identity constellation.
Parse a file into an identity constellation .