Currently, building an HtmlSnippet requires pretty verbose code:
$codex = new Codex(); $snippet = $codex->htmlSnippet()->setContent( 'raw HTML string' )->build();
We should simplify this to:
$codex = new Codex(); $codex->htmlSnippet( 'raw HTML string' );