| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 8 | class ModelNotifiableDirective implements ModelDirectiveInterface |
||
| 9 | { |
||
| 10 | public static function processModelTypeDirective( |
||
| 11 | ModelGenerator $generator, |
||
| 12 | \GraphQL\Language\AST\DirectiveNode $directive |
||
| 13 | ): void { |
||
| 14 | $generator->traits[] = '\Illuminate\Notifications\Notifiable'; |
||
| 15 | } |
||
| 16 | |||
| 17 | public static function processModelFieldDirective( |
||
| 18 | ModelGenerator $generator, |
||
| 19 | \GraphQL\Type\Definition\FieldDefinition $field, |
||
| 20 | \GraphQL\Language\AST\DirectiveNode $directive |
||
| 21 | ): void { |
||
| 22 | } |
||
| 23 | |||
| 24 | public function processModelRelationshipDirective( |
||
| 29 | } |
||
| 30 | } |
||
| 31 |