public function addHashtagsFromBody()
    {
        $entity = $this->getItem();
        $terms = $this->extractHashtagTerms($entity->body);

        foreach ($terms as $term) {
            $entity->addHashtag(trim($term));
        }
    }
public function addHashtagsFromBody()
    {
        $entity = $this->getItem();
        $terms = $this->extractHashtagTerms($entity->body);

        foreach ($terms as $term) {
            $entity->addHashtag(trim($term));
        }
    }
public function addHashtagsFromBody ( ) { $ entity = $ this -> getItem ( ) ; $ terms = $ this -> extractHashtagTerms ( $ entity -> body ) ; foreach ( $ terms as $ term ) { $ entity -> addHashtag ( trim ( $ term ) ) ; } }
Extracts hashtag terms from the entity body and add them to the item.
Extracts hashtag terms from the entity body and add them to the item .