Add siganushka/region-bundle v1.2 recipe (#2019)

* Add siganushka/region-bundle v1.2 recipe

* fix dir error

* fix class error

* refactor: rename region class
This commit is contained in:
Siganushka
2026-08-05 11:02:28 +04:00
committed by GitHub
parent e4ad235a3d
commit 567b2e1436
4 changed files with 27 additions and 0 deletions
@@ -0,0 +1,2 @@
siganushka_region:
region_class: App\Entity\Region
@@ -0,0 +1,3 @@
siganushka_region:
resource: "@SiganushkaRegionBundle/config/routes.php"
stateless: true
@@ -0,0 +1,9 @@
{
"bundles": {
"Siganushka\\RegionBundle\\SiganushkaRegionBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
}
}
@@ -0,0 +1,13 @@
<?php
declare(strict_types=1);
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Siganushka\RegionBundle\Entity\Region as BaseRegion;
#[ORM\Entity]
class Region extends BaseRegion
{
}