Total Complexity | 2 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
26 | abstract class Item |
||
27 | { |
||
28 | /** |
||
29 | * id |
||
30 | * @var int |
||
31 | */ |
||
32 | protected $id = null; |
||
33 | /** |
||
34 | * Tmdb object |
||
35 | * @var TmdbInterface |
||
36 | */ |
||
37 | protected $tmdb = null; |
||
38 | /** |
||
39 | * Logger |
||
40 | * @var \Psr\Log\LoggerInterface |
||
41 | */ |
||
42 | protected $logger = null; |
||
43 | /** |
||
44 | * Configuration |
||
45 | * @var \stdClass |
||
46 | */ |
||
47 | protected $conf = null; |
||
48 | /** |
||
49 | * Params |
||
50 | * @var array |
||
51 | */ |
||
52 | protected $params = []; |
||
53 | /** |
||
54 | * Data |
||
55 | * @var \stdClass |
||
56 | */ |
||
57 | protected $data = null; |
||
58 | |||
59 | /** |
||
60 | * Constructor |
||
61 | * @param TmdbInterface $tmdb |
||
62 | * @param int $item_id |
||
63 | * @param array $options |
||
64 | * @param string $item_name |
||
65 | * @throws \Exception |
||
66 | */ |
||
67 | 825 | public function __construct(TmdbInterface $tmdb, int $item_id, array $options, string $item_name) |
|
82 |