protected function createContentBlock($name, $locale, $type, $content)
    {
        $block = new ContentBlock();
        $block
            ->setName($name)
            ->setLocale($locale)
            ->setType($type)
            ->setContent($content)
            ->save()
        ;

        $this->blocks[$name][$locale] = $block;

        return $block;
    }