| 1 | <?php |
||
| 17 | class UserProfileContacts |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @ORM\Id() |
||
| 21 | * @ORM\GeneratedValue() |
||
| 22 | * @ORM\Column(type="integer") |
||
| 23 | */ |
||
| 24 | private $id; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @ORM\ManyToOne(targetEntity="App\Entity\UserProfile", inversedBy="contacts") |
||
| 28 | * @ORM\JoinColumn(nullable=true) |
||
| 29 | */ |
||
| 30 | private $profile; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @ORM\Column(type="string", length=255) |
||
| 34 | */ |
||
| 35 | public $provider; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @ORM\Column(type="string", length=255) |
||
| 39 | */ |
||
| 40 | public $url; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return mixed |
||
| 44 | */ |
||
| 45 | public function getId() |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param mixed $profile |
||
| 52 | * @return UserProfileContacts |
||
| 53 | */ |
||
| 54 | public function setProfile(UserProfile $profile): self |
||
| 59 | } |