Content
This document is about how to set up and use a Content object.
Table of contents
First steps
Create a Content object and give it some objects which are always needed:
<?php
use IDML\Content\BackingStory;
use IDML\Content\Container;
use IDML\Content\DesignMap;
use IDML\Content\Tag;
$content = new IDML\Content();
$content
->setBackingStory(new BackingStory())
->setContainer(new Container())
->setDesignMap(new DesignMap())
->setTag(new Tag())
;