. * * This file is a part of iCalcreator. */ namespace Kigkonsult\Icalcreator; /** * iCalcreator VEVENT/VTODO component base class * * @author Kjell-Inge Gustafsson, kigkonsult * @since 2.29.24 - 2019-07-02 */ abstract class VetComponent extends Vcomponent { /** * Return Valarm object instance * * @return Valarm * @since 2.27.2 - 2018-12-21 */ public function newValarm() { $ix = $this->getNextComponentIndex(); $this->components[$ix] = new Valarm( $this->getConfig()); return $this->components[$ix]; } }