1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace ControleOnline\Entity; |
4
|
|
|
|
5
|
|
|
use Doctrine\ORM\Mapping as ORM; |
|
|
|
|
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* LanguageCountry |
9
|
|
|
* |
10
|
|
|
* @ORM\Table(name="language_country", uniqueConstraints={@ORM\UniqueConstraint(name="language_id", columns={"language_id", "country_id"})}, indexes={@ORM\Index(name="country_id", columns={"country_id"}), @ORM\Index(name="IDX_F7BE1E3282F1BAF4", columns={"language_id"})}) |
11
|
|
|
* @ORM\Entity |
12
|
|
|
* @ORM\EntityListeners({ControleOnline\Listener\LogListener::class}) |
13
|
|
|
*/ |
14
|
|
|
class LanguageCountry |
15
|
|
|
{ |
16
|
|
|
/** |
17
|
|
|
* @var integer |
18
|
|
|
* |
19
|
|
|
* @ORM\Column(name="id", type="integer", nullable=false) |
20
|
|
|
* @ORM\Id |
21
|
|
|
* @ORM\GeneratedValue(strategy="IDENTITY") |
22
|
|
|
*/ |
23
|
|
|
private $id; |
24
|
|
|
|
25
|
|
|
/** |
26
|
|
|
* @var \ControleOnline\Entity\Language |
27
|
|
|
* |
28
|
|
|
* @ORM\ManyToOne(targetEntity="ControleOnline\Entity\Language") |
29
|
|
|
* @ORM\JoinColumns({ |
30
|
|
|
* @ORM\JoinColumn(name="language_id", referencedColumnName="id") |
31
|
|
|
* }) |
32
|
|
|
*/ |
33
|
|
|
private $language; |
34
|
|
|
|
35
|
|
|
/** |
36
|
|
|
* @var \ControleOnline\Entity\Country |
37
|
|
|
* |
38
|
|
|
* @ORM\ManyToOne(targetEntity="ControleOnline\Entity\Country", inversedBy="languageCountry") |
39
|
|
|
* @ORM\JoinColumns({ |
40
|
|
|
* @ORM\JoinColumn(name="country_id", referencedColumnName="id") |
41
|
|
|
* }) |
42
|
|
|
*/ |
43
|
|
|
private $country; |
44
|
|
|
|
45
|
|
|
/** |
46
|
|
|
* Get id |
47
|
|
|
* |
48
|
|
|
* @return integer |
49
|
|
|
*/ |
50
|
|
|
public function getId() |
51
|
|
|
{ |
52
|
|
|
return $this->id; |
53
|
|
|
} |
54
|
|
|
|
55
|
|
|
/** |
56
|
|
|
* Set language |
57
|
|
|
* |
58
|
|
|
* @param \ControleOnline\Entity\Language $language |
59
|
|
|
* @return LanguageCountry |
60
|
|
|
*/ |
61
|
|
|
public function setLanguage(\ControleOnline\Entity\Language $language = null) |
62
|
|
|
{ |
63
|
|
|
$this->language = $language; |
64
|
|
|
|
65
|
|
|
return $this; |
66
|
|
|
} |
67
|
|
|
|
68
|
|
|
/** |
69
|
|
|
* Get language |
70
|
|
|
* |
71
|
|
|
* @return \ControleOnline\Entity\Language |
72
|
|
|
*/ |
73
|
|
|
public function getLanguage() |
74
|
|
|
{ |
75
|
|
|
return $this->language; |
76
|
|
|
} |
77
|
|
|
|
78
|
|
|
/** |
79
|
|
|
* Set country |
80
|
|
|
* |
81
|
|
|
* @param \ControleOnline\Entity\Country $country |
82
|
|
|
* @return LanguageCountry |
83
|
|
|
*/ |
84
|
|
|
public function setCountry(\ControleOnline\Entity\Country $country = null) |
85
|
|
|
{ |
86
|
|
|
$this->country = $country; |
87
|
|
|
|
88
|
|
|
return $this; |
89
|
|
|
} |
90
|
|
|
|
91
|
|
|
/** |
92
|
|
|
* Get country |
93
|
|
|
* |
94
|
|
|
* @return \ControleOnline\Entity\Country |
95
|
|
|
*/ |
96
|
|
|
public function getCountry() |
97
|
|
|
{ |
98
|
|
|
return $this->country; |
99
|
|
|
} |
100
|
|
|
} |
101
|
|
|
|
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