1 | <?php |
||
13 | class ActorContacts |
||
14 | { |
||
15 | /** |
||
16 | * @ORM\Id() |
||
17 | * @ORM\GeneratedValue() |
||
18 | * @ORM\Column(type="integer") |
||
19 | */ |
||
20 | private $id; |
||
21 | |||
22 | /** |
||
23 | * @ORM\ManyToOne(targetEntity="App\Actors\Entity\Actor", inversedBy="contacts") |
||
24 | * @ORM\JoinColumn(nullable=false) |
||
25 | */ |
||
26 | private $actor; |
||
27 | |||
28 | /** |
||
29 | * @ORM\Column(type="string", length=30) |
||
30 | */ |
||
31 | private $provider; |
||
32 | |||
33 | /** |
||
34 | * @ORM\Column(type="string", length=255) |
||
35 | */ |
||
36 | private $url; |
||
37 | |||
38 | public function __construct(Actor $actor, string $provider, string $url) |
||
44 | |||
45 | public function getId(): int |
||
49 | |||
50 | public function getActor(): Actor |
||
54 | |||
55 | public function getProvider(): string |
||
59 | |||
60 | public function getUrl(): string |
||
64 | } |
||
65 |