Model/Thread.php
/**
     * Adds ThreadMetadata to the metadata collection.
     *
     * @param ThreadMetadataInterface $meta
     * @return ThreadInterface
     */
Adds ThreadMetadata to the metadata collection.
Adds ThreadMetadata to the metadata collection .
public function addMetadata(ThreadMetadataInterface $meta): ThreadInterface
    {
        $meta->setThread($this);
        $this->metadata->add($meta);
        return $this;
    }
public function addMetadata ( ThreadMetadataInterface $ meta ) : ThreadInterface { $ meta -> setThread ( $ this ) ; $ this -> metadata -> add ( $ meta ) ; return $ this ; }
Adds ThreadMetadata to the metadata collection.
Adds ThreadMetadata to the metadata collection .