File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ composer require butschster/cycle-orm
2323```
2424
2525Optionally you can register the EntityManager, Transaction and/or ORM facade:
26- ```
26+ ``` php
2727'DatabaseManager' => Butschster\Cycle\Facades\DatabaseManager::class,
2828'Transaction' => Butschster\Cycle\Facades\Transaction::class,
2929'ORM' => Butschster\Cycle\Facades\ORM::class,
@@ -61,7 +61,7 @@ For more information see https://cycle-orm.dev/docs/basic-connect#configure-data
6161#### Getting Database Manager ($dbal)
6262` DatabaseManager ` registered as a singleton container
6363
64- ```
64+ ``` php
6565$dbal = $this->app->get(\Spiral\Database\DatabaseManager::class);
6666// Or
6767$dbal = $this->app->get(\Spiral\Database\DatabaseProviderInterface::class);
You can’t perform that action at this time.
0 commit comments