public function __construct($useShortArrayTags = true, $ignoreAnnotationErrors = true)
 {
     parent::__construct();
     $this->resolver = new \yapcdi\resolver\MetadataResolver(true);
     $this->useShortArrayTags = $useShortArrayTags;
     $this->ignoreAnnotationErrors = $ignoreAnnotationErrors;
 }
Esempio n. 2
0
 /**
  * @param array $aCountries
  */
 public function __construct(array $aCountries)
 {
     $this->oDom = new DOMDocument('1.0', 'UTF-8');
     $this->formatOutput();
     $this->preserveWhiteSpace();
     $this->oDom->appendChild($this->oDom->createElement('countries'));
     parent::__construct($aCountries);
 }