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 PhpGedcom\Record;
use PhpGedcom\Record;
* Class Chan.
class Chan extends Record
{
* @var string
protected $date;
protected $time;
* @var array
protected $note = [];
* @param string $date
* @return Chan
public function setDate($date = '')
$this->date = $date;
return $this;
}
* @return string
public function getDate()
return $this->date;
* @param Record\NoteRef $note
public function addNote($note = [])
$this->note[] = $note;
* @return array
public function getNote()
return $this->note;
* @param string $time
public function setTime($time = '')
$this->time = $time;
public function getTime()
return $this->time;