for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DoctrineORMModuleTest\Assets\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="doctrine_orm_module_category")
*/
class Category
{
* @ORM\Id
* @ORM\Column(type="integer");
* @ORM\GeneratedValue(strategy="AUTO")
protected $id;
* @ORM\Column(type="string", nullable=true)
protected $name;
* @return int|null
public function getId()
return $this->id;
}
public function setName($name)
$this->name = $name;
return $this;
public function getName()
return $this->name;