Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
ProtectedVisibilityPolicy | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | /** |
6 | * Copyright (c) 2019-2023 NxtLvl Software Solutions. |
7 | * |
8 | * Freely available to use under the terms of the MIT license. |
9 | */ |
10 | |
11 | namespace NxtLvlSoftware\StaticConstructors\Policy\Method\Visibility; |
12 | |
13 | /** |
14 | * Method policy for enforcing a static constructor candidate method has protected visibility. |
15 | */ |
16 | final class ProtectedVisibilityPolicy extends VisibilityMethodPolicy { |
17 | |
18 | protected const VISIBILITY = ConstructorVisibility::Protected; |
19 | |
20 | } |