for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* php-gedcom.
*
* php-gedcom is a library for parsing, manipulating, importing and exporting
* GEDCOM 5.5 files in PHP 5.3+.
* @author Kristopher Wilson <[email protected]>
* @copyright Copyright (c) 2010-2013, Kristopher Wilson
* @license MIT
* @link http://github.com/mrkrstphr/php-gedcom
*/
namespace Gedcom\Parser\Indi;
class Birt extends \Gedcom\Parser\Indi\Even
{
public static function parseFamc($parser, $even)
$record = $parser->getCurrentLineRecord();
if (isset($record[2])) {
$even->setFamc(trim($record[2]));
}