Merge pull request #16595 from seamuslee001/refactor_payment_processor_radio
[civicrm-core.git] / setup / src / Setup / Event / CheckAuthorizedEvent.php
CommitLineData
4bcd4c62
TO
1<?php
2namespace Civi\Setup\Event;
3
4/**
5 * Check if the current user is authorized to perform installations.
6 *
7 * Event Name: 'civi.setup.checkAuthorized'
8 */
9class CheckAuthorizedEvent extends BaseSetupEvent {
10
11 /**
12 * @var bool
13 */
14 private $authorized = FALSE;
15
16 /**
17 * @return bool
18 */
19 public function isAuthorized() {
20 return $this->authorized;
21 }
22
23 /**
24 * @param bool $authorized
25 */
26 public function setAuthorized($authorized) {
27 $this->authorized = $authorized;
28 }
29
30}