Files
symfony-flex-recipes/doctrine.doctrine-fixtures-bundle.3.0.json
T
github-action[bot]andgithub-action[bot] ae3eff189f Update Flex endpoint
2021-10-23 06:46:21 +00:00

44 lines
1.5 KiB
JSON

{
"manifests": {
"doctrine/doctrine-fixtures-bundle": {
"manifest": {
"bundles": {
"Doctrine\\Bundle\\FixturesBundle\\DoctrineFixturesBundle": [
"dev",
"test"
]
},
"copy-from-recipe": {
"src/": "%SRC_DIR%/"
}
},
"files": {
"src/DataFixtures/AppFixtures.php": {
"contents": [
"<?php",
"",
"namespace App\\DataFixtures;",
"",
"use Doctrine\\Bundle\\FixturesBundle\\Fixture;",
"use Doctrine\\Persistence\\ObjectManager;",
"",
"class AppFixtures extends Fixture",
"{",
" public function load(ObjectManager $manager): void",
" {",
" // $product = new Product();",
" // $manager->persist($product);",
"",
" $manager->flush();",
" }",
"}",
""
],
"executable": false
}
},
"ref": "1f5514cfa15b947298df4d771e694e578d4c204d"
}
}
}