Esempio n. 1
0
 public function __construct(array $options = null)
 {
     $this->postDate = new \DateTime();
     $this->comments = new ArrayCollection();
     parent::__construct($options);
 }
Esempio n. 2
0
 public function __construct(array $options = null)
 {
     $this->blogEntries = new ArrayCollection();
     parent::__construct($options);
 }