src/Oro/Bundle/SalesBundle/Entity/B2bCustomer.php 1 location
|
@@ 313-321 (lines=9) @@
|
| 310 |
|
*/ |
| 311 |
|
protected $emails; |
| 312 |
|
|
| 313 |
|
public function __construct() |
| 314 |
|
{ |
| 315 |
|
parent::__construct(); |
| 316 |
|
|
| 317 |
|
$this->leads = new ArrayCollection(); |
| 318 |
|
$this->opportunities = new ArrayCollection(); |
| 319 |
|
$this->phones = new ArrayCollection(); |
| 320 |
|
$this->emails = new ArrayCollection(); |
| 321 |
|
} |
| 322 |
|
|
| 323 |
|
/** |
| 324 |
|
* @return int |
src/Oro/Bundle/SalesBundle/Entity/Lead.php 1 location
|
@@ 503-511 (lines=9) @@
|
| 500 |
|
/** |
| 501 |
|
* Constructor |
| 502 |
|
*/ |
| 503 |
|
public function __construct() |
| 504 |
|
{ |
| 505 |
|
parent::__construct(); |
| 506 |
|
|
| 507 |
|
$this->opportunities = new ArrayCollection(); |
| 508 |
|
$this->phones = new ArrayCollection(); |
| 509 |
|
$this->emails = new ArrayCollection(); |
| 510 |
|
$this->addresses = new ArrayCollection(); |
| 511 |
|
} |
| 512 |
|
|
| 513 |
|
/** |
| 514 |
|
* Get id |