mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 15:46:52 +03:00
41 lines
2.2 KiB
JSON
41 lines
2.2 KiB
JSON
{
|
|
"locks": {
|
|
"sonata-project/notification-orm-pack": {
|
|
"version": "1.0",
|
|
"recipe": {
|
|
"repo": "1.0",
|
|
"branch": "master",
|
|
"version": "1.0",
|
|
"ref": "c4c7db6d4949a6cc819270c4c2f0f00eeffe09f8"
|
|
}
|
|
}
|
|
},
|
|
"manifests": {
|
|
"sonata-project/notification-orm-pack": {
|
|
"repository": "github.com/symfony/recipes-contrib",
|
|
"package": "sonata-project/notification-orm-pack",
|
|
"version": "1.0",
|
|
"manifest": {
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/",
|
|
"src/": "%SRC_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"src/Entity/SonataNotificationMessage.php": {
|
|
"contents": "<?php\n\ndeclare(strict_types=1);\n\nnamespace App\\Entity;\n\nuse Doctrine\\ORM\\Mapping as ORM;\nuse JMS\\Serializer\\Annotation as Serializer;\nuse Sonata\\NotificationBundle\\Entity\\BaseMessage;\n\n/**\n * @ORM\\Entity\n * @ORM\\Table(name=\"notification__message\")\n */\nclass SonataNotificationMessage extends BaseMessage\n{\n /**\n * @ORM\\Id\n * @ORM\\Column(type=\"integer\")\n * @ORM\\GeneratedValue(strategy=\"AUTO\")\n * // Serializer\\Groups(groups={\"sonata_api_read\",\"sonata_api_write\",\"sonata_search\"})\n *\n * @var int\n */\n protected $id;\n\n public function getId()\n {\n return $this->id;\n }\n}\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
},
|
|
"config/packages/sonata_notification_orm.yaml": {
|
|
"contents": "sonata_notification:\n backend: sonata.notification.backend.doctrine\n backends:\n doctrine: null\n class:\n message: App\\Entity\\SonataNotificationMessage\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
}
|
|
},
|
|
"origin": "sonata-project/notification-orm-pack:1.0@github.com/symfony/recipes-contrib:master",
|
|
"not_installable": false,
|
|
"is_contrib": true
|
|
}
|
|
}
|
|
} |