Skip to content

Instantly share code, notes, and snippets.

@doctrinebot
Created December 13, 2015 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doctrinebot/d84ddfcd2892b9a5b341 to your computer and use it in GitHub Desktop.
Save doctrinebot/d84ddfcd2892b9a5b341 to your computer and use it in GitHub Desktop.
Attachments to Doctrine Jira Issue DBAL-68 - https://github.com/doctrine/dbal/issues/1901
<?php
namespace Foo\Entity;
/**
* @Entity
*/
class Test {
/**
* @Id @Column(type="integer")
* @GeneratedValue
*/
private $id;
/**
* @Column(type="decimal")
*/
private $aValue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment