/** Construct**/ public function __construct() { parent::__construct(); $this->user = new User(); $this->loginId = $this->generateTimebaseId(); $this->lastVolume = 50; }
/** Constructor **/ public function __construct() { parent::__construct(); $this->memo = ''; $this->roles = new ArrayCollection(); $this->loginId = $this->generateTimebaseId(); }
/** * Constructor */ public function __construct($isRandomize = false) { parent::__construct(); $this->programItems = new \Doctrine\Common\Collections\ArrayCollection(); $this->isRandomize = $isRandomize; $this->nowPlayingIndex = 0; }
/** Constructor **/ public function __construct() { parent::__construct(); $this->courses = new \Doctrine\Common\Collections\ArrayCollection(); $this->contracts = new \Doctrine\Common\Collections\ArrayCollection(); $this->product = new Product(); $this->setEndAt(new \DateTime('9999-12-31')); }
/** Constructor **/ public function __construct($transactionId, $invoice, $agent) { parent::__construct(); $this->transactionId = $transactionId; $this->invoice = $invoice; $this->state = CreditCardTransaction::WAITING_STATE; $this->setAgent($agent); }
/** Construct **/ public function __construct() { parent::__construct(); $this->advancedUser = new AdvancedUser(); $this->contracts = new ArrayCollection(); $contract = new Contract(); $contract->setSubscriber($this); $this->addContract($contract); $this->receipts = new ArrayCollection(); $this->invoices = new ArrayCollection(); $this->setState(new RunningState()); }
/** Constructor **/ public function __construct() { parent::__construct(); $this->user = new User(); $this->invoices = new ArrayCollection(); $this->receipts = new ArrayCollection(); $this->emails = new ArrayCollection(); $this->phones = new ArrayCollection(); $this->addresses = new ArrayCollection(); $phone = new Phone(); $phone->setOwner($this); $this->addPhone($phone); $address = new Address(); $address->setOwner($this); $this->addAddress($address); }
/** Constructor **/ public function __construct() { parent::__construct(); // kc, 2015-08-01 // $this->lastPaidAt = new \DateTime('now'); $this->startAt = new \DateTime('now'); $this->lastPaidAt = null; // $this->endAt = new \DateTime('now'); $this->endAt = clone $this->startAt; $this->endAt->modify('23:59:59'); $this->endAt->modify('+14 days'); $playplace = new Playplace(); $playplace->setContract($this); $this->playplace = $playplace; $this->state = new ImcompleteState(); $this->stateName = $this->state; $this->isInvoiceIssued = false; }
/** * Constructor */ public function __construct() { parent::__construct(); $this->contracts = new \Doctrine\Common\Collections\ArrayCollection(); $this->availablePaymentMethods = array(); }
public function __construct() { parent::__construct(); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->programItems = new \Doctrine\Common\Collections\ArrayCollection(); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->plans = new \Doctrine\Common\Collections\ArrayCollection(); $this->channelItems = new \Doctrine\Common\Collections\ArrayCollection(); }
public function __construct($planId, $courseId) { parent::__construct(); $this->metaData = \json_encode(array('planId' => $planId, 'courseId' => $courseId)); }