Merge pull request #17736 from civicrm/5.27
[civicrm-core.git] / ext / flexmailer / src / Listener / BaseListener.php
CommitLineData
bdf67e28
SL
1<?php
2/*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
10 */
11namespace Civi\FlexMailer\Listener;
12
13class BaseListener {
14 /**
15 * @var bool
16 */
17 private $active = TRUE;
18
19 /**
20 * @return bool
21 */
22 public function isActive() {
23 return $this->active;
24 }
25
26 /**
27 * @param bool $active
28 */
29 public function setActive($active) {
30 $this->active = $active;
31 }
32
33}