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