| 1 | <?php |
| 2 | |
| 3 | require_once __DIR__ . '/../../src/Classes/Tribe.php'; |
| 4 | |
| 5 | abstract class Event |
| 6 | { |
| 7 | protected $tribe; |
| 8 | protected $story = ''; |
| 9 | |
| 10 | public function __construct(Tribe $tribe) |
| 11 | { |
| 12 | $this->tribe = $tribe; |
| 13 | } |
| 14 | |
| 15 | abstract public function execute(); |
| 16 | |
| 17 | public function getStory() |
| 18 | { |
| 19 | return $this->story; |
| 20 | } |
| 21 | } |