Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Doctrine\DBAL\Platforms;
4
 
5
use Doctrine\Deprecations\Deprecation;
6
 
7
/**
8
 * Provides the behavior, features and SQL dialect of the MySQL 8.0 (8.0 GA) database platform.
9
 */
10
class MySQL80Platform extends MySQL57Platform
11
{
12
    /**
13
     * {@inheritdoc}
14
     *
15
     * @deprecated Implement {@see createReservedKeywordsList()} instead.
16
     */
17
    protected function getReservedKeywordsClass()
18
    {
19
        Deprecation::triggerIfCalledFromOutside(
20
            'doctrine/dbal',
21
            'https://github.com/doctrine/dbal/issues/4510',
22
            'MySQL80Platform::getReservedKeywordsClass() is deprecated,'
23
                . ' use MySQL80Platform::createReservedKeywordsList() instead.',
24
        );
25
 
26
        return Keywords\MySQL80Keywords::class;
27
    }
28
}