private function getTaxonomyEntity(Entity\Content $contentEntity, $taxonomy)
    {
        return new Entity\Taxonomy([
            'content_id'   => $contentEntity->getId(),
            'contenttype'  => (string) $contentEntity->getContentType(),
            'taxonomytype' => $taxonomy,
        ]);
    }
private function getTaxonomyEntity(Entity\Content $contentEntity, $taxonomy)
    {
        return new Entity\Taxonomy([
            'content_id'   => $contentEntity->getId(),
            'contenttype'  => (string) $contentEntity->getContentType(),
            'taxonomytype' => $taxonomy,
        ]);
    }
private function getTaxonomyEntity ( Entity \ Content $ contentEntity , $ taxonomy ) { return new Entity \ Taxonomy ( [ 'content_id' => $ contentEntity -> getId ( ) , 'contenttype' => ( string ) $ contentEntity -> getContentType ( ) , 'taxonomytype' => $ taxonomy , ] ) ; }
Get a base taxonomy entity object.

@param Entity\Content $contentEntity
@param string         $taxonomy

@return Entity\Taxonomy
Get a base taxonomy entity object .