@@ 626-633 (lines=8) @@ | ||
623 | * |
|
624 | * @return B2bCustomer |
|
625 | */ |
|
626 | public function addPhone(B2bCustomerPhone $phone) |
|
627 | { |
|
628 | if (!$this->phones->contains($phone)) { |
|
629 | $this->phones->add($phone); |
|
630 | $phone->setOwner($this); |
|
631 | } |
|
632 | return $this; |
|
633 | } |
|
634 | /** |
|
635 | * Remove phone |
|
636 | * |
@@ 1140-1148 (lines=9) @@ | ||
1137 | * |
|
1138 | * @return Lead |
|
1139 | */ |
|
1140 | public function addPhone(LeadPhone $phone) |
|
1141 | { |
|
1142 | if (!$this->phones->contains($phone)) { |
|
1143 | $this->phones->add($phone); |
|
1144 | $phone->setOwner($this); |
|
1145 | } |
|
1146 | ||
1147 | return $this; |
|
1148 | } |
|
1149 | ||
1150 | /** |
|
1151 | * Remove phone |