1 | <?php |
||
2 | |||
3 | namespace ControleOnline\Entity; |
||
4 | |||
5 | use Symfony\Component\Serializer\Attribute\Groups; |
||
0 ignored issues
–
show
|
|||
6 | use ControleOnline\Repository\PeopleDomainRepository; |
||
7 | use ControleOnline\Listener\LogListener; |
||
0 ignored issues
–
show
The type
ControleOnline\Listener\LogListener was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
8 | |||
9 | use Doctrine\ORM\Mapping as ORM; |
||
0 ignored issues
–
show
The type
Doctrine\ORM\Mapping was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
10 | |||
11 | /** |
||
12 | * PeopleDomain |
||
13 | */ |
||
14 | #[ORM\Table(name: 'people_domain')] |
||
15 | #[ORM\Entity(repositoryClass: PeopleDomainRepository::class)] |
||
16 | #[ORM\EntityListeners([LogListener::class])] |
||
17 | class PeopleDomain |
||
18 | { |
||
19 | |||
20 | /** |
||
21 | * @var integer |
||
22 | */ |
||
23 | #[ORM\Column(name: 'id', type: 'integer', nullable: false)] |
||
24 | #[ORM\Id] |
||
25 | #[ORM\GeneratedValue(strategy: 'IDENTITY')] |
||
26 | private $id; |
||
27 | |||
28 | /** |
||
29 | * @var People |
||
30 | */ |
||
31 | #[ORM\JoinColumn(name: 'people_id', referencedColumnName: 'id')] |
||
32 | #[ORM\ManyToOne(targetEntity: People::class)] |
||
33 | private $people; |
||
34 | |||
35 | |||
36 | |||
37 | /** |
||
38 | * @var Theme |
||
0 ignored issues
–
show
The type
ControleOnline\Entity\Theme was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
39 | */ |
||
40 | #[ORM\JoinColumn(name: 'theme_id', referencedColumnName: 'id')] |
||
41 | #[ORM\ManyToOne(targetEntity: Theme::class)] |
||
42 | private $theme; |
||
43 | |||
44 | /** |
||
45 | * @var string |
||
46 | */ |
||
47 | #[ORM\Column(name: 'domain', type: 'string', length: 255, nullable: false)] |
||
48 | private $domain; |
||
49 | |||
50 | /** |
||
51 | * @var string |
||
52 | */ |
||
53 | #[ORM\Column(name: 'domain_type', type: 'string', length: 255, nullable: false)] |
||
54 | private $domain_type; |
||
55 | |||
56 | public function __construct() |
||
57 | { |
||
58 | $this->domain_type = 'cfp'; |
||
59 | } |
||
60 | |||
61 | /** |
||
62 | * Get id |
||
63 | * |
||
64 | * @return integer |
||
65 | */ |
||
66 | public function getId() |
||
67 | { |
||
68 | return $this->id; |
||
69 | } |
||
70 | |||
71 | /** |
||
72 | * Set people |
||
73 | * |
||
74 | * @param People $people |
||
75 | * @return PeopleDomain |
||
76 | */ |
||
77 | public function setPeople(People $people = null) |
||
78 | { |
||
79 | $this->people = $people; |
||
80 | |||
81 | return $this; |
||
82 | } |
||
83 | |||
84 | /** |
||
85 | * Get people |
||
86 | * |
||
87 | * @return People |
||
88 | */ |
||
89 | public function getPeople() |
||
90 | { |
||
91 | return $this->people; |
||
92 | } |
||
93 | |||
94 | /** |
||
95 | * Set domain |
||
96 | * |
||
97 | * @param string domain |
||
0 ignored issues
–
show
The type
ControleOnline\Entity\domain was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
98 | * @return PeopleDomain |
||
99 | */ |
||
100 | public function setDomain($domain) |
||
101 | { |
||
102 | $this->domain = $domain; |
||
103 | |||
104 | return $this; |
||
105 | } |
||
106 | |||
107 | /** |
||
108 | * Get domain |
||
109 | * |
||
110 | * @return string |
||
111 | */ |
||
112 | public function getDomain() |
||
113 | { |
||
114 | return $this->domain; |
||
115 | } |
||
116 | |||
117 | /** |
||
118 | * Set domain |
||
119 | * |
||
120 | * @param string domain_type |
||
0 ignored issues
–
show
The type
ControleOnline\Entity\domain_type was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
121 | * @return PeopleDomain |
||
122 | */ |
||
123 | public function setDomainType($domain_type) |
||
124 | { |
||
125 | $this->domain_type = $domain_type; |
||
126 | |||
127 | return $this; |
||
128 | } |
||
129 | |||
130 | /** |
||
131 | * Get domain_type |
||
132 | * |
||
133 | * @return string |
||
134 | */ |
||
135 | public function getDomainType() |
||
136 | { |
||
137 | return $this->domain_type; |
||
138 | } |
||
139 | |||
140 | /** |
||
141 | * Get the value of theme |
||
142 | */ |
||
143 | public function getTheme(): Theme |
||
144 | { |
||
145 | return $this->theme; |
||
146 | } |
||
147 | |||
148 | /** |
||
149 | * Set the value of theme |
||
150 | */ |
||
151 | public function setTheme(Theme $theme): self |
||
152 | { |
||
153 | $this->theme = $theme; |
||
154 | |||
155 | return $this; |
||
156 | } |
||
157 | } |
||
158 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths