setup doctirne adapter interface