예제 #1
0
 public function __construct()
 {
     $this->attributes = new ArrayCollection();
     $this->options = new ArrayCollection();
     $this->createdAt = new \DateTime();
     parent::__construct();
 }
예제 #2
0
    public function __construct()
    {
        parent::__construct();

        $this->rules = new ArrayCollection();
        $this->createdAt = new \DateTime();
    }
예제 #3
0
파일: Product.php 프로젝트: aleherse/Sylius
 public function __construct()
 {
     parent::__construct();
     $this->availableOn = new \DateTime();
     $this->attributes = new ArrayCollection();
     $this->variants = new ArrayCollection();
     $this->options = new ArrayCollection();
     $this->createdAt = new \DateTime();
 }
예제 #4
0
 public function __construct()
 {
     parent::__construct();
     $this->createdAt = new \DateTime();
 }
예제 #5
0
파일: Taxon.php 프로젝트: Silwereth/Sylius
 public function __construct()
 {
     parent::__construct();
     $this->children = new ArrayCollection();
 }
예제 #6
0
 public function __construct()
 {
     parent::__construct();
     $this->provinces = new ArrayCollection();
 }