| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | #[Attribute(Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)] |
||
| 38 | class AuthorizedAdminSetting { |
||
| 39 | /** |
||
| 40 | * @param class-string<IDelegatedSettings> $settings A settings section the user needs to be able to access |
||
|
|
|||
| 41 | * @since 27.0.0 |
||
| 42 | */ |
||
| 43 | public function __construct( |
||
| 44 | protected string $settings |
||
| 45 | ) { |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * |
||
| 50 | * @return class-string<IDelegatedSettings> |
||
| 51 | * @since 27.0.0 |
||
| 52 | */ |
||
| 53 | public function getSettings(): string { |
||
| 55 | } |
||
| 56 | } |
||
| 57 |