private function fillEntity(Entity\Content $contentEntity)
    {
        $contentType = $this->repository->getEntityManager()->getContentType($contentEntity->getContenttype());

        foreach ($contentType['fields'] as $field => $values) {
            $this->setFieldValue($contentEntity, $contentType, $field, $values);
        }

        // After we initially filled the content object, we get the title to set the slug.
        $slug = Slugify::create()->slugify($contentEntity->getTitle());
        $contentEntity->set('slug', $slug);

        // Add taxonomy
        $this->setTaxonomyCollection($contentEntity, $contentType);

        // Save it
        $this->repository->save($contentEntity);

        $taxonomies = null;
        /** @var Entity\Taxonomy $taxonomy */
        foreach ($contentEntity->getTaxonomy()->toArray() as $taxonomy) {
            $type = $taxonomy->getTaxonomytype();
            $taxonomies[$type][] = $taxonomy->getName();
        }

        $this->createSummary[] = [
            'title'    => $contentEntity->getTitle(),
            'taxonomy' => $taxonomies,
        ];
    }