2 namespace Civi\Setup\Event
;
5 * Check if the current user is authorized to perform installations.
7 * Event Name: 'civi.setup.checkAuthorized'
9 class CheckAuthorizedEvent
extends BaseSetupEvent
{
14 private $authorized = FALSE;
19 public function isAuthorized() {
20 return $this->authorized
;
24 * @param bool $authorized
26 public function setAuthorized($authorized) {
27 $this->authorized
= $authorized;