mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
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:
@@ -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
|
||||||
|
{
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user