<?php
namespace App\EntityList; class OAuth2AuthCodes extends \App\EntityList\GeneralAbstract { protected function loadDbTablesCfgs(): void { global $DBTOauth2AuthCodes, $DBTOauth2Clients; $this->setMainTable($DBTOauth2AuthCodes, 'authCodes'); $this->addAllowedTable($DBTOauth2Clients, 'clients', 'authCodes.`clientId`=clients.`clientId`', 'LEFT'); } } 