File: cli-config.php

package info (click to toggle)
php-doctrine-dbal 2.12.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,568 kB
  • sloc: php: 56,013; xml: 559; makefile: 33; sh: 22
file content (9 lines) | stat: -rw-r--r-- 326 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
<?php
use Doctrine\DBAL\Tools\Console\ConsoleRunner;

// replace with the mechanism to retrieve DBAL connection in your app
$connection = \Doctrine\DBAL\DriverManager::getConnection(['driver' => 'pdo_sqlite']);

// You can append new commands to $commands array, if needed

return ConsoleRunner::createHelperSet($connection);