| 1 | <?php declare(strict_types=1); |
||
| 24 | trait GeneratorTrait |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * GeneratorTrait object variable |
||
| 28 | * @var \stdClass |
||
| 29 | */ |
||
| 30 | protected $generator_trait; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Set GeneratorTrait variable |
||
| 34 | * @param TmdbInterface $tmdb |
||
| 35 | * @return void |
||
| 36 | */ |
||
| 37 | 66 | protected function setGeneratorTrait(TmdbInterface $tmdb) : void |
|
| 43 | |||
| 44 | /** |
||
| 45 | * Item generator method |
||
| 46 | * @param array $results |
||
| 47 | * @param string $class |
||
| 48 | */ |
||
| 49 | 35 | protected function searchItemGenerator(array $results, string $class) |
|
| 58 | } |
||
| 59 |