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\Indi\Even;
use PhpGedcom\Record;
* Class Plac.
class Plac extends Record implements Record\Noteable, Record\Sourceable
{
* @var string
protected $plac;
protected $form;
* @var array
protected $note = [];
protected $sour = [];
* @param string $form
* @return Plac
public function setForm($form = '')
$this->form = $form;
return $this;
}
* @return string
public function getForm()
return $this->form;
* @param string $plac
public function setPlac($plac = '')
$this->plac = $plac;
public function getPlac()
return $this->plac;
* @return array
public function getNote()
return $this->note;
* @param Record\NoteRef $note
public function addNote($note = [])
$this->note[] = $note;
public function getSour()
return $this->sour;
* @param Record\SourRef $sour
public function addSour($sour = [])
$this->sour[] = $sour;