| Total Complexity | 8 |
| Total Lines | 96 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class Ffprincipale |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var int |
||
| 12 | */ |
||
| 13 | private $id; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $descrizione; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var \Doctrine\Common\Collections\Collection |
||
| 22 | */ |
||
| 23 | private $ffsecondarias; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Constructor. |
||
| 27 | */ |
||
| 28 | public function __construct() |
||
| 29 | { |
||
| 30 | $this->ffsecondarias = new \Doctrine\Common\Collections\ArrayCollection(); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Get id. |
||
| 35 | * |
||
| 36 | * @return int |
||
| 37 | */ |
||
| 38 | public function getId() |
||
| 39 | { |
||
| 40 | return $this->id; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Set descrizione. |
||
| 45 | * |
||
| 46 | * @param string $descrizione |
||
| 47 | * |
||
| 48 | * @return ffprincipale |
||
| 49 | */ |
||
| 50 | public function setDescrizione($descrizione) |
||
| 51 | { |
||
| 52 | $this->descrizione = $descrizione; |
||
| 53 | |||
| 54 | return $this; |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Get descrizione. |
||
| 59 | * |
||
| 60 | * @return string |
||
| 61 | */ |
||
| 62 | public function getDescrizione() |
||
| 63 | { |
||
| 64 | return $this->descrizione; |
||
| 65 | } |
||
| 66 | |||
| 67 | /** |
||
| 68 | * Add ffsecondarias. |
||
| 69 | * |
||
| 70 | * @param \Fi\CoreBundle\Entity\Ffsecondaria $ffsecondarias |
||
| 71 | * |
||
| 72 | * @return ffprincipale |
||
| 73 | */ |
||
| 74 | public function addFfsecondaria(\Fi\CoreBundle\Entity\Ffsecondaria $ffsecondarias) |
||
| 75 | { |
||
| 76 | $this->ffsecondarias[] = $ffsecondarias; |
||
| 77 | |||
| 78 | return $this; |
||
| 79 | } |
||
| 80 | |||
| 81 | /** |
||
| 82 | * Remove ffsecondarias. |
||
| 83 | * |
||
| 84 | * @param \Fi\CoreBundle\Entity\Ffsecondaria $ffsecondarias |
||
| 85 | */ |
||
| 86 | public function removeFfsecondaria(\Fi\CoreBundle\Entity\Ffsecondaria $Ffsecondarias) |
||
| 87 | { |
||
| 88 | $this->ffsecondarias->removeElement($Ffsecondarias); |
||
| 89 | } |
||
| 90 | |||
| 91 | /** |
||
| 92 | * Get ffsecondarias. |
||
| 93 | * |
||
| 94 | * @return \Doctrine\Common\Collections\Collection |
||
| 95 | */ |
||
| 96 | public function getFfsecondarias() |
||
| 99 | } |
||
| 100 | |||
| 101 | public function __toString() |
||
| 104 | } |
||
| 105 | } |
||
| 106 |