raulfraile/sublime-symfony2 — pull request #4 by kwattro (2012-03-29 14:11:01+00:00)
Title: Add sfentityClass Snippet

This snippet generates the basic entityClass as of the sfcontroller snippet

snippet : sfentityClass

output :

````
namespace VendorName\BundleNameBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;

/*
* @ORM\Entity(repositoryClass="VendorName\BundleNameBundle\Repository\repositoryClassRepository")
* @ORM\Table(name="table_name")
*/
class repositoryClass
{
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
}
````