public function getAllTerms(Post $post)
    {
        $taxonomies = get_object_taxonomies($this->getSlug());

        $adaptees = wp_get_object_terms($post->id, $taxonomies);

        return $this->plugAdapter(Term::class, $adaptees);
    }
public function getAllTerms(Post $post)
    {
        $taxonomies = get_object_taxonomies($this->getSlug());

        $adaptees = wp_get_object_terms($post->id, $taxonomies);

        return $this->plugAdapter(Term::class, $adaptees);
    }
public function getAllTerms ( Post $ post ) { $ taxonomies = get_object_taxonomies ( $ this -> getSlug ( ) ) ; $ adaptees = wp_get_object_terms ( $ post -> id , $ taxonomies ) ; return $ this -> plugAdapter ( Term :: class , $ adaptees ) ; }
Gets all post terms.

@param \Assely\Adapter\Post $post

@return \Illuminate\Support\Collection
Gets all post terms .