for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Starkerxp\CampagneBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Starkerxp\StructureBundle\Entity\Entity;
/**
* Template.
*
* @ORM\Table(name="template")
* @ORM\Entity(repositoryClass="Starkerxp\CampagneBundle\Repository\TemplateRepository")
*/
class Template extends Entity
{
* @var int
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
protected $id;
* @var string
* @ORM\Column(name="name", type="string", length=255)
protected $nom;
* @ORM\Column(name="type", type="string", length=255)
protected $type;
* @ORM\Column(name="object", type="string", length=255)
protected $sujet;
* @ORM\Column(name="message", type="text")
protected $message;
* Get id.
* @return int
public function getId()
return $this->id;
}
* Get nom.
* @return string
public function getNom()
return $this->nom;
* Set nom.
* @param string $nom
public function setNom($nom)
$this->nom = $nom;
* Get type.
public function getType()
return $this->type;
* Set type.
* @param string $type
public function setType($type)
$this->type = $type;
* Get sujet.
public function getSujet()
return $this->sujet;
* Set sujet.
* @param string $sujet
public function setSujet($sujet)
$this->sujet = $sujet;
* Get message.
public function getMessage()
return $this->message;
* Set message.
* @param string $message
public function setMessage($message)
$this->message = $message;
This check marks files that end in a newline character, i.e. an empy line.
This check marks files that end in a newline character, i.e. an empy line.