/** * Konstruktor pobiera parametry postaci * @param type $param */ public function __construct($param) { $this->param = new \Parameters(); $this->param->setStringParameter($param); $this->zycie = $this->param->getZycie(); $this->setName($param[name]); }