1
0
mirror of synced 2025-01-18 22:41:43 +03:00

Merge pull request #126 from barelon/patch-1

Fix some typos in annotations reference
This commit is contained in:
Guilherme Blanco 2012-09-18 08:56:50 -07:00
commit fa29d36d09

View File

@ -295,7 +295,7 @@ Example:
/**
* @Id
* @Column(type="integer")
* @generatedValue(strategy="IDENTITY")
* @GeneratedValue(strategy="IDENTITY")
*/
protected $id = null;
@ -634,13 +634,17 @@ Example:
.. code-block:: php
<?php
/** @MappedSuperclass */
/**
* @MappedSuperclass
*/
class MappedSuperclassBase
{
// ... fields and methods
}
/** @Entity */
/**
* @Entity
*/
class EntitySubClassFoo extends MappedSuperclassBase
{
// ... fields and methods
@ -662,7 +666,7 @@ Required attributes:
Optional attributes:
- **resultClass**: The class of the result.
- **sqlResultSetMapping**: The name of a SqlResultSetMapping, as defined in metadata.
- **resultSetMapping**: The name of a SqlResultSetMapping, as defined in metadata.
Example:
@ -935,7 +939,7 @@ Required attributes:
Optional attributes:
- **resultClass**: Array of @EntityResult, Specifies the result set mapping to entities.
- **entities**: Array of @EntityResult, Specifies the result set mapping to entities.
- **columns**: Array of @ColumnResult, Specifies the result set mapping to scalar values.
Example:
@ -1102,8 +1106,8 @@ Example:
<?php
/**
* @column(type="integer")
* @version
* @Column(type="integer")
* @Version
*/
protected $version;