public function __construct(OODB $oodb, QueryWriter $writer) { $this->writer = $writer; $this->oodb = $oodb; }