长期运行/Doctrine ORM

1.1.0 2021-12-18 08:40 UTC

This package is auto-updated.

Last update: 2024-09-23 16:06:31 UTC


README

这是从LongRunning单体仓库中分离出来的只读包。

如果您想进行修改,请创建一个pull request

此包需要Doctrine ORM 2.7或更高版本。

安装

composer require long-running/doctrine-orm

Symfony

如果您正在使用Symfony,请确保安装DoctrineBundle

composer require doctrine/doctrine-bundle

然后注册此bundle

<?php
// config/bundles.php

return [
    // ...
    Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
    LongRunning\Core\Bundle\LongRunningBundle::class => ['all' => true],
    LongRunning\DoctrineORM\Bundle\LongRunningDoctrineORMBundle::class => ['all' => true],
];