for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Entity;
use Sonata\MediaBundle\Entity\BaseGallery as BaseGallery;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table(name="media__gallery")
* @ORM\Entity
*/
class Gallery extends BaseGallery
{
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
protected $id;
* Get id
* @return integer
public function getId()
return $this->id;
}