Esempio n. 1
0
 /**
  * add Metadata
  * @param ModelThreadMetadata $meta
  */
 public function addMetadata(ModelThreadMetadata $meta)
 {
     $meta->setThread($this);
     parent::addMetadata($meta);
 }
Esempio n. 2
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->messages = new ArrayCollection();
     $this->metadata = new ArrayCollection();
 }