mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-23 07:33:58 -06:00
13 lines
347 B
Plaintext
13 lines
347 B
Plaintext
|
#!/usr/bin/env php
|
||
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
use Doctrine\ORM\EntityManager;
|
||
|
use Doctrine\ORM\Tools\Console\ConsoleRunner;
|
||
|
use Doctrine\ORM\Tools\Console\EntityManagerProvider\SingleManagerProvider;
|
||
|
|
||
|
/** @var EntityManager $app */
|
||
|
$em = require __DIR__ . '/../config/entity-manager.php';
|
||
|
ConsoleRunner::run(new SingleManagerProvider($em));
|