Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 621
Zeile 5... Zeile 5...
5
use Doctrine\Common\Cache\Cache;
5
use Doctrine\Common\Cache\Cache;
6
use Doctrine\Common\Cache\Psr6\CacheAdapter;
6
use Doctrine\Common\Cache\Psr6\CacheAdapter;
7
use Doctrine\Common\Cache\Psr6\DoctrineProvider;
7
use Doctrine\Common\Cache\Psr6\DoctrineProvider;
8
use Doctrine\DBAL\Driver\Middleware;
8
use Doctrine\DBAL\Driver\Middleware;
9
use Doctrine\DBAL\Logging\SQLLogger;
9
use Doctrine\DBAL\Logging\SQLLogger;
-
 
10
use Doctrine\DBAL\Schema\SchemaManagerFactory;
10
use Doctrine\Deprecations\Deprecation;
11
use Doctrine\Deprecations\Deprecation;
11
use Psr\Cache\CacheItemPoolInterface;
12
use Psr\Cache\CacheItemPoolInterface;
Zeile 12... Zeile 13...
12
 
13
 
Zeile 53... Zeile 54...
53
     *
54
     *
54
     * @var bool
55
     * @var bool
55
     */
56
     */
56
    protected $autoCommit = true;
57
    protected $autoCommit = true;
Zeile -... Zeile 58...
-
 
58
 
-
 
59
    private ?SchemaManagerFactory $schemaManagerFactory = null;
57
 
60
 
58
    public function __construct()
61
    public function __construct()
59
    {
62
    {
60
        $this->schemaAssetsFilter = static function (): bool {
63
        $this->schemaAssetsFilter = static function (): bool {
61
            return true;
64
            return true;
Zeile 223... Zeile 226...
223
    /** @return Middleware[] */
226
    /** @return Middleware[] */
224
    public function getMiddlewares(): array
227
    public function getMiddlewares(): array
225
    {
228
    {
226
        return $this->middlewares;
229
        return $this->middlewares;
227
    }
230
    }
-
 
231
 
-
 
232
    public function getSchemaManagerFactory(): ?SchemaManagerFactory
-
 
233
    {
-
 
234
        return $this->schemaManagerFactory;
-
 
235
    }
-
 
236
 
-
 
237
    /** @return $this */
-
 
238
    public function setSchemaManagerFactory(SchemaManagerFactory $schemaManagerFactory): self
-
 
239
    {
-
 
240
        $this->schemaManagerFactory = $schemaManagerFactory;
-
 
241
 
-
 
242
        return $this;
-
 
243
    }
228
}
244
}