1 | <?php |
||
2 | |||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
3 | namespace nystudio107\retour\helpers; |
||
4 | |||
5 | use craft\helpers\Gql as GqlHelper; |
||
6 | |||
7 | /** |
||
0 ignored issues
–
show
|
|||
8 | * @author nystudio107 |
||
0 ignored issues
–
show
Content of the @author tag must be in the form "Display Name <[email protected]>"
![]() |
|||
9 | * @package Retour |
||
0 ignored issues
–
show
|
|||
10 | * @since 3.1.54 |
||
0 ignored issues
–
show
|
|||
11 | */ |
||
0 ignored issues
–
show
|
|||
12 | class Gql extends GqlHelper |
||
13 | { |
||
14 | // Public Methods |
||
15 | // ========================================================================= |
||
16 | |||
17 | public static function canQueryRetour(): bool |
||
0 ignored issues
–
show
|
|||
18 | { |
||
19 | $allowedEntities = self::extractAllowedEntitiesFromSchema(); |
||
20 | |||
21 | return isset($allowedEntities['retour']); |
||
22 | } |
||
23 | } |
||
24 |