Bristol SU Support Package
|
Public Member Functions | |
setActivity (Activity $activity) | |
activity () | |
Static Public Member Functions | |
static | fromActivity (Activity $activity) |
Protected Attributes | |
$activity | |
Definition at line 7 of file ActivityDisabled.php.
BristolSU\Support\Authorization\Exception\ActivityDisabled::activity | ( | ) |
Set the activity that caused the exception to be thrown
Definition at line 43 of file ActivityDisabled.php.
References BristolSU\Support\Authorization\Exception\ActivityDisabled\$activity.
Referenced by BristolSU\Support\Authorization\Exception\ActivityDisabled\setActivity().
|
static |
Create an instance of the exception
Activity | $activity |
Definition at line 22 of file ActivityDisabled.php.
Referenced by BristolSU\Support\Authorization\Middleware\CheckActivityEnabled\handle().
BristolSU\Support\Authorization\Exception\ActivityDisabled::setActivity | ( | Activity | $activity | ) |
Set the activity that caused the exception to be thrown
Activity | $activity |
Definition at line 33 of file ActivityDisabled.php.
References BristolSU\Support\Authorization\Exception\ActivityDisabled\$activity, and BristolSU\Support\Authorization\Exception\ActivityDisabled\activity().
|
protected |
Definition at line 14 of file ActivityDisabled.php.
Referenced by BristolSU\Support\Authorization\Exception\ActivityDisabled\activity(), and BristolSU\Support\Authorization\Exception\ActivityDisabled\setActivity().