public function __construct() { // Initialise variables $this->richTextElements = array(); $this->alignment = new Alignment(); $this->font = new Font(); $this->bulletStyle = new Bullet(); }