symblog-docs icon indicating copy to clipboard operation
symblog-docs copied to clipboard

fix caps of @ORM\PreUpdate

Open glensc opened this issue 10 years ago • 0 comments

current symfony2/doctrine is picky about the case:

$ php app/console doctrine:generate:entities 'Blogger\BlogBundle'
Generating entities for namespace "Blogger\BlogBundle"

  [Doctrine\Common\Annotations\AnnotationException]                                                                                                           
  [Semantical Error] The annotation "@Doctrine\ORM\Mapping\preUpdate" in method Blogger\BlogBundle\Entity\Comment::setUpdatedValue() does not exist, or could not be auto-loaded.                                                                                                                                       

glensc avatar Apr 15 '14 04:04 glensc