Description
At the present time you should use a magic string to load a table class:
$articles = $this->getTableLocator()->fetchTable('Articles');.
It would be better to use a constant IMHO:
$articles = $this->getTableLocator()->fetchTable(ArticlesTable::class); and to extract the alias from the class name inside fetchTable method.
In case when an alias does not follow the naming conventions it should be possible to set it by using the options parameter:
$articles = $this->getTableLocator()->fetchTable(ArticlesTable::class, ['alias' => 'MyArticle']);
CakePHP Version
No response