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