| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 12 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | 1 | public function __construct() |
|
| 12 | { |
||
| 13 | 1 | $config = [ |
|
| 14 | 1 | 'name' => 'AllPermissions', |
|
| 15 | 1 | 'description' => 'Describe permissions for current user', |
|
| 16 | 1 | 'fields' => [ |
|
| 17 | 1 | 'crud' => [ |
|
| 18 | 1 | 'type' => self::nonNull(_types()->get(CrudPermissionsListType::class)), |
|
| 19 | 1 | 'description' => 'Permissions for object creation', |
|
| 20 | 1 | ], |
|
| 21 | 1 | ], |
|
| 22 | 1 | ]; |
|
| 23 | |||
| 24 | 1 | parent::__construct($config); |
|
| 25 | } |
||
| 27 |