Files
szkoleniauryzaj.pl/wp-content/plugins/pixelyoursite/includes/events/class-event-grouped.php
2024-11-10 21:08:49 +01:00

30 lines
483 B
PHP

<?php
namespace PixelYourSite;
/**
* @deprecated
*/
class GroupedEvent extends PYSEvent
{
private $events = array();
public function __construct($id, $type,$category='') {
parent::__construct($id, $type,$category);
}
/**
* @param PYSEvent $event
*/
public function addEvent($event) {
$this->events[] = $event;
}
/**
* @return PYSEvent[]
*/
public function getEvents() {
return $this->events;
}
}