title: is possible use setId() for id in doctrine entity?
body: <p>I want to set id manual I write this code in my Test entity:</p>
  
  <p>can I use setId() for entities like my code?</p>
  
  <p>My code is here:</p>
  
  <pre><code> /**
   * Test
   * @ORM\Table(name="test")
   */
  class Test
  {
      /**
       * @var int
       * @ORM\Column(name="id", type="integer")
       */
      private $id;
  
      /**
       * @var string
       * @ORM\Column(name="name", type="string", length=255)
       */
      private $name;
  
  
      /**
       * Set id
       * @param integer $id
       * @return Test
       */
      public function setId($id)
      {
          $this-&gt;id = $id;
  
          return $this;
      }
  
      /**
       * Get id
       * @return integer
       */
      public function getId()
      {
          return $this-&gt;id;
      }
  
     // other methods
  }
  </code></pre>
  
  <p>is this correct way to set id?
  if not what is the correct and standard way?</p>