BlueGit

blue-star tribegen

Files

tribegen / web / src / Events / MonthEndEvent.php

MonthEndEvent.php

MonthEndEvent.php 529 B Download Raw
1<?php
2require_once __DIR__ . '/../../src/Events/Event.php';
3require_once __DIR__ . '/../../src/Classes/Tribe.php';
4
5abstract class MonthEndEvent extends Event
6{
7 public function isEndOfMonth()
8 {
9 return true;
10 }
11
12 public function __construct(Tribe $tribe)
13 {
14 $this->tribe = $tribe;
15 }
16
17 abstract public function execute();
18
19 abstract public function getCost();
20
21 abstract function getMinParticipants();
22
23 abstract function getMaxParticipants();
24
25 abstract function getMinAge();
26}