Gateway Interfaces, Classes and Traits GatewayInterface Db gateway interface AbstractGateway Db abstract gateway class Exception Db gateway exception class Row Row gateway class Table Table gateway class