private function setPostedTaxonomies(Entity\Content $content, $formValues)
    {
        /** @var Collection\Taxonomy $taxonomies */
        $taxonomies = $this->em->createCollection(Entity\Taxonomy::class);
        $taxonomies->setFromPost($formValues, $content);
        $content->setTaxonomy($taxonomies);
    }
private function setPostedTaxonomies(Entity\Content $content, $formValues)
    {
        /** @var Collection\Taxonomy $taxonomies */
        $taxonomies = $this->em->createCollection(Entity\Taxonomy::class);
        $taxonomies->setFromPost($formValues, $content);
        $content->setTaxonomy($taxonomies);
    }
private function setPostedTaxonomies ( Entity \ Content $ content , $ formValues ) { /** @var Collection\Taxonomy $taxonomies */ $ taxonomies = $ this -> em -> createCollection ( Entity \ Taxonomy :: class ) ; $ taxonomies -> setFromPost ( $ formValues , $ content ) ; $ content -> setTaxonomy ( $ taxonomies ) ; }
Set valid POST taxonomies.

@param Entity\Content $content
@param array|null     $formValues
Set valid POST taxonomies .