File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ step:
141
141
142
142
require_once "vendor/autoload.php";
143
143
144
- // Create a simple "default" Doctrine ORM configuration for Annotations
144
+ // Create a simple "default" Doctrine ORM configuration for Attributes
145
145
$config = ORMSetup::createAttributeMetadataConfiguration(
146
146
paths: array(__DIR__."/src"),
147
147
isDevMode: true,
Original file line number Diff line number Diff line change 54
54
* the static create() method. The quickest way to obtain a fully
55
55
* configured EntityManager is:
56
56
*
57
- * use Doctrine\ORM\Tools\Setup ;
57
+ * use Doctrine\ORM\Tools\ORMSetup ;
58
58
* use Doctrine\ORM\EntityManager;
59
59
*
60
- * $paths = array( '/path/to/entity/mapping/files') ;
60
+ * $paths = [ '/path/to/entity/mapping/files'] ;
61
61
*
62
- * $config = Setup::createAnnotationMetadataConfiguration ($paths);
63
- * $dbParams = array( 'driver' => 'pdo_sqlite', 'memory' => true) ;
62
+ * $config = ORMSetup::createAttributeMetadataConfiguration ($paths);
63
+ * $dbParams = [ 'driver' => 'pdo_sqlite', 'memory' => true] ;
64
64
* $entityManager = EntityManager::create($dbParams, $config);
65
65
*
66
66
* For more information see
You can’t perform that action at this time.
0 commit comments