public function __construct(AbstractUnitObject $unit, fDOMElement $ctx) { $this->unit = $unit; $this->ctx = $ctx; }