src/Model/TrackedManyManyList.php
private function tableClass($table)
    {
        $tables = DataObject::getSchema()->getTableNames();
        $class = array_search($table, $tables, true);
        if ($class) {
            return $class;
        }
        return null;
    }
private function tableClass($table)
    {
        $tables = DataObject::getSchema()->getTableNames();
        $class = array_search($table, $tables, true);
        if ($class) {
            return $class;
        }
        return null;
    }
private function tableClass ( $ table ) { $ tables = DataObject :: getSchema ( ) -> getTableNames ( ) ; $ class = array_search ( $ table , $ tables , true ) ; if ( $ class ) { return $ class ; } return null ; }
Find the class for the given table.

Stripped down version from framework that does not attempt to strip _Live and _versions postfixes as
that throws errors in its preg_match(). (At least it did as of 2018-06-22 on SilverStripe 4.1.1)

@param string $table
@return string|null The FQN of the class, or null if not found
Find the class for the given table .