public function collapse($content, $type)
    {
        $contentType = $this->contentType->findOneBy(array('content' => $content, 'type' => $type));

        $contentType->setCollapse(!$contentType->isCollapse());
        $this->manager->persist($contentType);
        $this->manager->flush();
    }