| 1 | <?php |
||
| 11 | class PermissionDenied implements Permission { |
||
| 12 | /** |
||
| 13 | * A user-facing error message |
||
| 14 | * |
||
| 15 | * @var string error_message |
||
| 16 | */ |
||
| 17 | private $error_message; |
||
| 18 | |||
| 19 | // phpcs:ignore Squiz.Commenting.FunctionComment.Missing |
||
| 20 | public function __construct( $error_message ) { |
||
| 23 | |||
| 24 | // phpcs:ignore Squiz.Commenting.FunctionComment.Missing |
||
| 25 | public function granted() { |
||
| 28 | |||
| 29 | // phpcs:ignore Squiz.Commenting.FunctionComment.Missing |
||
| 30 | public function message() { |
||
| 33 | |||
| 34 | // phpcs:ignore Squiz.Commenting.FunctionComment.Missing |
||
| 35 | public function data() { |
||
| 38 | } |
||
| 39 |