Example #1
0
 /**
  * Set Container Defaults
  * 
  * This is where we set all our defaults. If you need to customise this
  * container this is a good place to look to see what can be configured
  * and how to configure it.
  */
 protected function setDefaults()
 {
     $this->zip = function () {
         return new ZipArchive();
     };
     $this->xml = $this->protect(function ($xml) {
         return SimpleXMLElement::fixSplitTags($xml);
     });
     $this->converter = function () {
         return new LibreOffice();
     };
 }