mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-22 04:46:23 +03:00
Sonata Page Bundle 4 (#1440)
* Sonata Page Bundle 4 * Added post install
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user