mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-19 02:56:26 +03:00
Update Flex archives
This commit is contained in:
+64
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sonata-project/notification-orm-pack": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/sonata_notification_orm.yaml": {
|
||||
"contents": [
|
||||
"sonata_notification:",
|
||||
" backend: sonata.notification.backend.doctrine",
|
||||
" backends:",
|
||||
" doctrine: ~",
|
||||
" class:",
|
||||
" message: App\\Entity\\SonataNotificationMessage",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/SonataNotificationMessage.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"declare(strict_types=1);",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use JMS\\Serializer\\Annotation as Serializer;",
|
||||
"use Sonata\\NotificationBundle\\Entity\\BaseMessage;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity",
|
||||
" * @ORM\\Table(name=\"notification__message\")",
|
||||
" */",
|
||||
"class SonataNotificationMessage extends BaseMessage",
|
||||
"{",
|
||||
" /**",
|
||||
" * @ORM\\Id",
|
||||
" * @ORM\\Column(type=\"integer\")",
|
||||
" * @ORM\\GeneratedValue(strategy=\"AUTO\")",
|
||||
" * // Serializer\\Groups(groups={\"sonata_api_read\",\"sonata_api_write\",\"sonata_search\"})",
|
||||
" *",
|
||||
" * @var int",
|
||||
" */",
|
||||
" protected $id;",
|
||||
"",
|
||||
" public function getId()",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "9b97b7756ccbe888d1be891b9dec6ec4c92ba0fe"
|
||||
}
|
||||
}
|
||||
}
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sonata-project/notification-orm-pack": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/sonata_notification_orm.yaml": {
|
||||
"contents": [
|
||||
"sonata_notification:",
|
||||
" backend: sonata.notification.backend.doctrine",
|
||||
" backends:",
|
||||
" doctrine: null",
|
||||
" class:",
|
||||
" message: App\\Entity\\SonataNotificationMessage",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/SonataNotificationMessage.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"declare(strict_types=1);",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use JMS\\Serializer\\Annotation as Serializer;",
|
||||
"use Sonata\\NotificationBundle\\Entity\\BaseMessage;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity",
|
||||
" * @ORM\\Table(name=\"notification__message\")",
|
||||
" */",
|
||||
"class SonataNotificationMessage extends BaseMessage",
|
||||
"{",
|
||||
" /**",
|
||||
" * @ORM\\Id",
|
||||
" * @ORM\\Column(type=\"integer\")",
|
||||
" * @ORM\\GeneratedValue(strategy=\"AUTO\")",
|
||||
" * // Serializer\\Groups(groups={\"sonata_api_read\",\"sonata_api_write\",\"sonata_search\"})",
|
||||
" *",
|
||||
" * @var int",
|
||||
" */",
|
||||
" protected $id;",
|
||||
"",
|
||||
" public function getId()",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "c4c7db6d4949a6cc819270c4c2f0f00eeffe09f8"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user