mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-17 10:06:31 +03:00
Update Flex endpoint
This commit is contained in:
+2
-2
@@ -220,7 +220,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github.
|
||||
| [jawira/case-converter-twig](https://packagist.org/packages/jawira/case-converter-twig) | [0.0](jawira/case-converter-twig/0.0) |
|
||||
| [jbtcd/fitbit-bundle](https://packagist.org/packages/jbtcd/fitbit-bundle) | [1.0](jbtcd/fitbit-bundle/1.0) |
|
||||
| [jmose/command-scheduler-bundle](https://packagist.org/packages/jmose/command-scheduler-bundle) | [2.0](jmose/command-scheduler-bundle/2.0) |
|
||||
| [jms/serializer-bundle](https://packagist.org/packages/jms/serializer-bundle) | [3.0](jms/serializer-bundle/3.0) |
|
||||
| [jms/serializer-bundle](https://packagist.org/packages/jms/serializer-bundle) | [4.0](jms/serializer-bundle/4.0) |
|
||||
| [jolicode/gif-exception-bundle](https://packagist.org/packages/jolicode/gif-exception-bundle) | [1.0](jolicode/gif-exception-bundle/1.0) |
|
||||
| [jolicode/jolitypo](https://packagist.org/packages/jolicode/jolitypo) | [1.0](jolicode/jolitypo/1.0) |
|
||||
| [jonathankablan/fast-entity-bundle](https://packagist.org/packages/jonathankablan/fast-entity-bundle) | [2.0](jonathankablan/fast-entity-bundle/2.0) |
|
||||
@@ -453,7 +453,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github.
|
||||
| [sonata-project/form-extensions](https://packagist.org/packages/sonata-project/form-extensions) | [1.4](sonata-project/form-extensions/1.4) |
|
||||
| [sonata-project/media-bundle](https://packagist.org/packages/sonata-project/media-bundle) | [4.0](sonata-project/media-bundle/4.0) |
|
||||
| [sonata-project/notification-bundle](https://packagist.org/packages/sonata-project/notification-bundle) | [3.4](sonata-project/notification-bundle/3.4) |
|
||||
| [sonata-project/page-bundle](https://packagist.org/packages/sonata-project/page-bundle) | [3.9](sonata-project/page-bundle/3.9) |
|
||||
| [sonata-project/page-bundle](https://packagist.org/packages/sonata-project/page-bundle) | [4.0](sonata-project/page-bundle/4.0) |
|
||||
| [sonata-project/translation-bundle](https://packagist.org/packages/sonata-project/translation-bundle) | [2.3](sonata-project/translation-bundle/2.3) |
|
||||
| [sonata-project/twig-extensions](https://packagist.org/packages/sonata-project/twig-extensions) | [1.2](sonata-project/twig-extensions/1.2) |
|
||||
| [spatie/symfony-ignition-bundle](https://packagist.org/packages/spatie/symfony-ignition-bundle) | [0.0](spatie/symfony-ignition-bundle/0.0) |
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"manifests": {
|
||||
"jms/serializer-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"JMS\\SerializerBundle\\JMSSerializerBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/jms_serializer.yaml": {
|
||||
"contents": [
|
||||
"jms_serializer:",
|
||||
" visitors:",
|
||||
" xml_serialization:",
|
||||
" format_output: '%kernel.debug%'",
|
||||
"# metadata:",
|
||||
"# auto_detection: false",
|
||||
"# directories:",
|
||||
"# any-name:",
|
||||
"# namespace_prefix: \"My\\\\FooBundle\"",
|
||||
"# path: \"@MyFooBundle/Resources/config/serializer\"",
|
||||
"# another-name:",
|
||||
"# namespace_prefix: \"My\\\\BarBundle\"",
|
||||
"# path: \"@MyBarBundle/Resources/config/serializer\"",
|
||||
"",
|
||||
"when@prod:",
|
||||
" jms_serializer:",
|
||||
" visitors:",
|
||||
" json_serialization:",
|
||||
" options:",
|
||||
" - JSON_UNESCAPED_SLASHES",
|
||||
" - JSON_PRESERVE_ZERO_FRACTION",
|
||||
"",
|
||||
"when@dev:",
|
||||
" jms_serializer:",
|
||||
" visitors:",
|
||||
" json_serialization:",
|
||||
" options:",
|
||||
" - JSON_PRETTY_PRINT",
|
||||
" - JSON_UNESCAPED_SLASHES",
|
||||
" - JSON_PRESERVE_ZERO_FRACTION",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "cc04e10cf7171525b50c18b36004edf64cb478be"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,250 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sonata-project/page-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Sonata\\PageBundle\\SonataPageBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Your Page is almost ready:",
|
||||
" 1. Generate a migration for Sonata Page Database <info>php bin/console doctrine:migrations:diff</info>",
|
||||
" <comment>",
|
||||
" If you use Doctrine Attribute Reference, You must change Sonata Entities generated in Entity folder.",
|
||||
" You can check more details at https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/attributes-reference.html",
|
||||
"",
|
||||
" You can also use Rector to refactor, check more details at https://getrector.org/blog/how-to-upgrade-annotations-to-attributes",
|
||||
" </comment>",
|
||||
" 2. Apply the migration generated <info>php bin/console doctrine:migrations:migrate --no-interaction</info>",
|
||||
" 3. Create your first site: <info>bin/console sonata:page:create-site --enabled --name=localhost --locale=- --host=localhost --relativePath=- --enabledFrom=now --enabledTo=- --default</info>",
|
||||
" <comment>After you generate your site, You will see few commands to execute to have your Site ready.</comment>",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://docs.sonata-project.org/projects/SonataPageBundle/en/4.x/</comment>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/sonata_page.yaml": {
|
||||
"contents": [
|
||||
"sonata_block:",
|
||||
" default_contexts: [sonata_page_bundle]",
|
||||
"",
|
||||
"sonata_admin:",
|
||||
" assets:",
|
||||
" extra_javascripts:",
|
||||
" - bundles/sonatapage/app.js",
|
||||
" extra_stylesheets:",
|
||||
" - bundles/sonatapage/app.css",
|
||||
"",
|
||||
"# https://docs.sonata-project.org/projects/SonataPageBundle/en/4.x/reference/advanced_configuration/",
|
||||
"sonata_page:",
|
||||
" multisite: host",
|
||||
" use_streamed_response: false",
|
||||
"",
|
||||
" router_auto_register:",
|
||||
" enabled: true",
|
||||
" priority: 150",
|
||||
" ignore_route_patterns:",
|
||||
" - ^(.*)admin(.*) # ignore admin route, ie route containing 'admin'",
|
||||
" - ^_(.*) # ignore symfony routes",
|
||||
" ignore_routes:",
|
||||
" - sonata_page_cache_esi",
|
||||
" - sonata_page_cache_ssi",
|
||||
" - sonata_page_js_sync_cache",
|
||||
" - sonata_page_js_async_cache",
|
||||
" - sonata_cache_esi",
|
||||
" - sonata_cache_ssi",
|
||||
" - sonata_cache_js_async",
|
||||
" - sonata_cache_js_sync",
|
||||
" - sonata_cache_apc",
|
||||
" ignore_uri_patterns:",
|
||||
" - ^/admin\\/ # ignore admin route, ie route containing 'admin'",
|
||||
"",
|
||||
" #https://docs.sonata-project.org/projects/SonataPageBundle/en/4.x/reference/page_composer/",
|
||||
" default_template: default",
|
||||
" templates:",
|
||||
" default:",
|
||||
" path: '@SonataPage/layout.html.twig'",
|
||||
" name: 'default'",
|
||||
" containers:",
|
||||
" header:",
|
||||
" name: Header",
|
||||
" content_top:",
|
||||
" name: Top content",
|
||||
" content:",
|
||||
" name: Main content",
|
||||
" content_bottom:",
|
||||
" name: Bottom content",
|
||||
" footer:",
|
||||
" name: Footer",
|
||||
" matrix:",
|
||||
" layout: |",
|
||||
" HHHHHHHH",
|
||||
" HHHHHHHH",
|
||||
" TTTTTTTT",
|
||||
" TTTTTTTT",
|
||||
" CCCCCCCC",
|
||||
" CCCCCCCC",
|
||||
" BBBBBBBB",
|
||||
" BBBBBBBB",
|
||||
" FFFFFFFF",
|
||||
" FFFFFFFF",
|
||||
"",
|
||||
" mapping:",
|
||||
" H: header",
|
||||
" T: content_top",
|
||||
" C: content",
|
||||
" B: content_bottom",
|
||||
" F: footer",
|
||||
"",
|
||||
" direct_publication: '%kernel.debug%'",
|
||||
"",
|
||||
" catch_exceptions:",
|
||||
" not_found: [404] # render 404 page with \"not_found\" key (name generated: _page_internal_error_{key})",
|
||||
" fatal: [500] # so you can use the same page for different http errors or specify specific page for each error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/sonata_page.yaml": {
|
||||
"contents": [
|
||||
"sonata_page_exceptions:",
|
||||
" resource: '@SonataPageBundle/Resources/config/routing/exceptions.xml'",
|
||||
" prefix: /",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/SonataPageBlock.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"declare(strict_types=1);",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use Sonata\\PageBundle\\Entity\\BaseBlock;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity",
|
||||
" * @ORM\\Table(name=\"page__block\")",
|
||||
" */",
|
||||
"class SonataPageBlock extends BaseBlock",
|
||||
"{",
|
||||
" /**",
|
||||
" * @ORM\\Id",
|
||||
" * @ORM\\Column(type=\"integer\")",
|
||||
" * @ORM\\GeneratedValue(strategy=\"AUTO\")",
|
||||
" *",
|
||||
" * @var int",
|
||||
" */",
|
||||
" protected $id;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/SonataPagePage.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"declare(strict_types=1);",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use Sonata\\PageBundle\\Entity\\BasePage;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity",
|
||||
" * @ORM\\Table(name=\"page__page\")",
|
||||
" */",
|
||||
"class SonataPagePage extends BasePage",
|
||||
"{",
|
||||
" /**",
|
||||
" * @ORM\\Id",
|
||||
" * @ORM\\Column(type=\"integer\")",
|
||||
" * @ORM\\GeneratedValue(strategy=\"AUTO\")",
|
||||
" *",
|
||||
" * @var int",
|
||||
" */",
|
||||
" protected $id;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/SonataPageSite.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"declare(strict_types=1);",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use Sonata\\PageBundle\\Entity\\BaseSite;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity",
|
||||
" * @ORM\\Table(name=\"page__site\")",
|
||||
" */",
|
||||
"class SonataPageSite extends BaseSite",
|
||||
"{",
|
||||
" /**",
|
||||
" * @ORM\\Id",
|
||||
" * @ORM\\Column(type=\"integer\")",
|
||||
" * @ORM\\GeneratedValue(strategy=\"AUTO\")",
|
||||
" *",
|
||||
" * @var int",
|
||||
" */",
|
||||
" protected $id;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/SonataPageSnapshot.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"declare(strict_types=1);",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use Sonata\\PageBundle\\Entity\\BaseSnapshot;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity",
|
||||
" * @ORM\\Table(name=\"page__snapshot\", indexes={",
|
||||
" * @ORM\\Index(",
|
||||
" * name=\"idx_snapshot_dates_enabled\", columns={\"publication_date_start\", \"publication_date_end\",\"enabled\"",
|
||||
" * })",
|
||||
" * })",
|
||||
" */",
|
||||
"class SonataPageSnapshot extends BaseSnapshot",
|
||||
"{",
|
||||
" /**",
|
||||
" * @ORM\\Id",
|
||||
" * @ORM\\Column(type=\"integer\")",
|
||||
" * @ORM\\GeneratedValue(strategy=\"AUTO\")",
|
||||
" *",
|
||||
" * @var int",
|
||||
" */",
|
||||
" protected $id;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "9cce775649671f1bef3f8eb8e587f7216e7aa273"
|
||||
}
|
||||
}
|
||||
}
|
||||
+4
-2
@@ -681,7 +681,8 @@
|
||||
],
|
||||
"jms/serializer-bundle": [
|
||||
"2.0",
|
||||
"3.0"
|
||||
"3.0",
|
||||
"4.0"
|
||||
],
|
||||
"jolicode/gif-exception-bundle": [
|
||||
"1.0"
|
||||
@@ -1420,7 +1421,8 @@
|
||||
"3.4"
|
||||
],
|
||||
"sonata-project/page-bundle": [
|
||||
"3.9"
|
||||
"3.9",
|
||||
"4.0"
|
||||
],
|
||||
"sonata-project/translation-bundle": [
|
||||
"2.3"
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"manifests": {
|
||||
"jms/serializer-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"JMS\\SerializerBundle\\JMSSerializerBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/jms_serializer.yaml": {
|
||||
"contents": [
|
||||
"jms_serializer:",
|
||||
" visitors:",
|
||||
" xml_serialization:",
|
||||
" format_output: '%kernel.debug%'",
|
||||
"# metadata:",
|
||||
"# auto_detection: false",
|
||||
"# directories:",
|
||||
"# any-name:",
|
||||
"# namespace_prefix: \"My\\\\FooBundle\"",
|
||||
"# path: \"@MyFooBundle/Resources/config/serializer\"",
|
||||
"# another-name:",
|
||||
"# namespace_prefix: \"My\\\\BarBundle\"",
|
||||
"# path: \"@MyBarBundle/Resources/config/serializer\"",
|
||||
"",
|
||||
"when@prod:",
|
||||
" jms_serializer:",
|
||||
" visitors:",
|
||||
" json_serialization:",
|
||||
" options:",
|
||||
" - JSON_UNESCAPED_SLASHES",
|
||||
" - JSON_PRESERVE_ZERO_FRACTION",
|
||||
"",
|
||||
"when@dev:",
|
||||
" jms_serializer:",
|
||||
" visitors:",
|
||||
" json_serialization:",
|
||||
" options:",
|
||||
" - JSON_PRETTY_PRINT",
|
||||
" - JSON_UNESCAPED_SLASHES",
|
||||
" - JSON_PRESERVE_ZERO_FRACTION",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "cc04e10cf7171525b50c18b36004edf64cb478be"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,250 @@
|
||||
{
|
||||
"manifests": {
|
||||
"sonata-project/page-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Sonata\\PageBundle\\SonataPageBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Your Page is almost ready:",
|
||||
" 1. Generate a migration for Sonata Page Database <info>php bin/console doctrine:migrations:diff</info>",
|
||||
" <comment>",
|
||||
" If you use Doctrine Attribute Reference, You must change Sonata Entities generated in Entity folder.",
|
||||
" You can check more details at https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/attributes-reference.html",
|
||||
"",
|
||||
" You can also use Rector to refactor, check more details at https://getrector.org/blog/how-to-upgrade-annotations-to-attributes",
|
||||
" </comment>",
|
||||
" 2. Apply the migration generated <info>php bin/console doctrine:migrations:migrate --no-interaction</info>",
|
||||
" 3. Create your first site: <info>bin/console sonata:page:create-site --enabled --name=localhost --locale=- --host=localhost --relativePath=- --enabledFrom=now --enabledTo=- --default</info>",
|
||||
" <comment>After you generate your site, You will see few commands to execute to have your Site ready.</comment>",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://docs.sonata-project.org/projects/SonataPageBundle/en/4.x/</comment>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/sonata_page.yaml": {
|
||||
"contents": [
|
||||
"sonata_block:",
|
||||
" default_contexts: [sonata_page_bundle]",
|
||||
"",
|
||||
"sonata_admin:",
|
||||
" assets:",
|
||||
" extra_javascripts:",
|
||||
" - bundles/sonatapage/app.js",
|
||||
" extra_stylesheets:",
|
||||
" - bundles/sonatapage/app.css",
|
||||
"",
|
||||
"# https://docs.sonata-project.org/projects/SonataPageBundle/en/4.x/reference/advanced_configuration/",
|
||||
"sonata_page:",
|
||||
" multisite: host",
|
||||
" use_streamed_response: false",
|
||||
"",
|
||||
" router_auto_register:",
|
||||
" enabled: true",
|
||||
" priority: 150",
|
||||
" ignore_route_patterns:",
|
||||
" - ^(.*)admin(.*) # ignore admin route, ie route containing 'admin'",
|
||||
" - ^_(.*) # ignore symfony routes",
|
||||
" ignore_routes:",
|
||||
" - sonata_page_cache_esi",
|
||||
" - sonata_page_cache_ssi",
|
||||
" - sonata_page_js_sync_cache",
|
||||
" - sonata_page_js_async_cache",
|
||||
" - sonata_cache_esi",
|
||||
" - sonata_cache_ssi",
|
||||
" - sonata_cache_js_async",
|
||||
" - sonata_cache_js_sync",
|
||||
" - sonata_cache_apc",
|
||||
" ignore_uri_patterns:",
|
||||
" - ^/admin\\/ # ignore admin route, ie route containing 'admin'",
|
||||
"",
|
||||
" #https://docs.sonata-project.org/projects/SonataPageBundle/en/4.x/reference/page_composer/",
|
||||
" default_template: default",
|
||||
" templates:",
|
||||
" default:",
|
||||
" path: '@SonataPage/layout.html.twig'",
|
||||
" name: 'default'",
|
||||
" containers:",
|
||||
" header:",
|
||||
" name: Header",
|
||||
" content_top:",
|
||||
" name: Top content",
|
||||
" content:",
|
||||
" name: Main content",
|
||||
" content_bottom:",
|
||||
" name: Bottom content",
|
||||
" footer:",
|
||||
" name: Footer",
|
||||
" matrix:",
|
||||
" layout: |",
|
||||
" HHHHHHHH",
|
||||
" HHHHHHHH",
|
||||
" TTTTTTTT",
|
||||
" TTTTTTTT",
|
||||
" CCCCCCCC",
|
||||
" CCCCCCCC",
|
||||
" BBBBBBBB",
|
||||
" BBBBBBBB",
|
||||
" FFFFFFFF",
|
||||
" FFFFFFFF",
|
||||
"",
|
||||
" mapping:",
|
||||
" H: header",
|
||||
" T: content_top",
|
||||
" C: content",
|
||||
" B: content_bottom",
|
||||
" F: footer",
|
||||
"",
|
||||
" direct_publication: '%kernel.debug%'",
|
||||
"",
|
||||
" catch_exceptions:",
|
||||
" not_found: [404] # render 404 page with \"not_found\" key (name generated: _page_internal_error_{key})",
|
||||
" fatal: [500] # so you can use the same page for different http errors or specify specific page for each error",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/routes/sonata_page.yaml": {
|
||||
"contents": [
|
||||
"sonata_page_exceptions:",
|
||||
" resource: '@SonataPageBundle/Resources/config/routing/exceptions.xml'",
|
||||
" prefix: /",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/SonataPageBlock.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"declare(strict_types=1);",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use Sonata\\PageBundle\\Entity\\BaseBlock;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity",
|
||||
" * @ORM\\Table(name=\"page__block\")",
|
||||
" */",
|
||||
"class SonataPageBlock extends BaseBlock",
|
||||
"{",
|
||||
" /**",
|
||||
" * @ORM\\Id",
|
||||
" * @ORM\\Column(type=\"integer\")",
|
||||
" * @ORM\\GeneratedValue(strategy=\"AUTO\")",
|
||||
" *",
|
||||
" * @var int",
|
||||
" */",
|
||||
" protected $id;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/SonataPagePage.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"declare(strict_types=1);",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use Sonata\\PageBundle\\Entity\\BasePage;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity",
|
||||
" * @ORM\\Table(name=\"page__page\")",
|
||||
" */",
|
||||
"class SonataPagePage extends BasePage",
|
||||
"{",
|
||||
" /**",
|
||||
" * @ORM\\Id",
|
||||
" * @ORM\\Column(type=\"integer\")",
|
||||
" * @ORM\\GeneratedValue(strategy=\"AUTO\")",
|
||||
" *",
|
||||
" * @var int",
|
||||
" */",
|
||||
" protected $id;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/SonataPageSite.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"declare(strict_types=1);",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use Sonata\\PageBundle\\Entity\\BaseSite;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity",
|
||||
" * @ORM\\Table(name=\"page__site\")",
|
||||
" */",
|
||||
"class SonataPageSite extends BaseSite",
|
||||
"{",
|
||||
" /**",
|
||||
" * @ORM\\Id",
|
||||
" * @ORM\\Column(type=\"integer\")",
|
||||
" * @ORM\\GeneratedValue(strategy=\"AUTO\")",
|
||||
" *",
|
||||
" * @var int",
|
||||
" */",
|
||||
" protected $id;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/SonataPageSnapshot.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"declare(strict_types=1);",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use Sonata\\PageBundle\\Entity\\BaseSnapshot;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity",
|
||||
" * @ORM\\Table(name=\"page__snapshot\", indexes={",
|
||||
" * @ORM\\Index(",
|
||||
" * name=\"idx_snapshot_dates_enabled\", columns={\"publication_date_start\", \"publication_date_end\",\"enabled\"",
|
||||
" * })",
|
||||
" * })",
|
||||
" */",
|
||||
"class SonataPageSnapshot extends BaseSnapshot",
|
||||
"{",
|
||||
" /**",
|
||||
" * @ORM\\Id",
|
||||
" * @ORM\\Column(type=\"integer\")",
|
||||
" * @ORM\\GeneratedValue(strategy=\"AUTO\")",
|
||||
" *",
|
||||
" * @var int",
|
||||
" */",
|
||||
" protected $id;",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "9cce775649671f1bef3f8eb8e587f7216e7aa273"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user