Debian Codegraph @

vendor/zircote/swagger-php/src/GeneratorAwareTrait.php

raw
1 <?php declare(strict_types=1);
2
3 /**
4 * @license Apache 2.0
5 */
6
7 namespace OpenApi;
8
9 trait GeneratorAwareTrait
10 {
11 protected ?Generator $generator = null;
12
13 public function setGenerator(Generator $generator): static
14 {
15 $this->generator = $generator;
16
17 return $this;
18 }
19 }