' . $content . ''; } } /** * @param Adapter $embed * * @return string */ public static function embedForTemplate($embed) { switch ($embed->type) { case 'video': case 'rich': if ($embed->extraClass) { return "