/** * Constructor. * * @param FormatterInterface $formatter * @param string $filename */ public function __construct(FormatterInterface $formatter, $filename) { $this->filename = $filename; $this->formatter = $formatter; $this->readXML($this->filename); parent::__construct(null, $this->xml->value); $this->parse(); }
/** * Constructor. * * @param FormatterInterface $formatter */ public function __construct(FormatterInterface $formatter) { $this->formatter = $formatter; parent::__construct(); }
/** * Constructor. * * @param \MwbExporter\Model\Base $parent * @param \SimpleXMLElement $node */ public function __construct(Base $parent = null, $node = null) { $this->links = new RegistryHolder(); parent::__construct($parent, $node); }