mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
removed orbitale CMS 2 as it depends on symfony/symfony
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
orbitale_cms:
|
||||
page_class: App\Entity\Page
|
||||
category_class: App\Entity\Category
|
||||
# Define your layout here if you need a custom layout for your CMS
|
||||
# layouts:
|
||||
# main: { resource: base.html.twig }
|
||||
@@ -1,9 +0,0 @@
|
||||
orbitale_cms_category:
|
||||
resource: "@OrbitaleCmsBundle/Controller/CategoryController.php"
|
||||
type: annotation
|
||||
prefix: /category/
|
||||
|
||||
orbitale_cms_page:
|
||||
resource: "@OrbitaleCmsBundle/Controller/PageController.php"
|
||||
type: annotation
|
||||
prefix: /page/
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Orbitale\\Bundle\\CmsBundle\\OrbitaleCmsBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
use Orbitale\Bundle\CmsBundle\Entity\Category as BaseCategory;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
/**
|
||||
* @ORM\Entity(repositoryClass="Orbitale\Bundle\CmsBundle\Repository\CategoryRepository")
|
||||
* @ORM\Table(name="orbitale_cms_categories")
|
||||
*/
|
||||
class Category extends BaseCategory
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
* @ORM\Column(name="id", type="integer")
|
||||
* @ORM\Id
|
||||
* @ORM\GeneratedValue(strategy="AUTO")
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
use Orbitale\Bundle\CmsBundle\Entity\Page as BasePage;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
/**
|
||||
* @ORM\Entity(repositoryClass="Orbitale\Bundle\CmsBundle\Repository\PageRepository")
|
||||
* @ORM\Table(name="orbitale_cms_pages")
|
||||
*/
|
||||
class Page extends BasePage
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
* @ORM\Column(name="id", type="integer")
|
||||
* @ORM\Id
|
||||
* @ORM\GeneratedValue(strategy="AUTO")
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user