Maslosoft Mangan API
Namespace Maslosoft\Mangan\Annotations
Namespaces summary
| Maslosoft\Mangan\Annotations\Indexes |
| Maslosoft\Mangan\Annotations\Validators |
Classes summary
| AliasAnnotation | Make alias to field. If any of two fields will not be default, both field will be set.
Example, alias to |
| ClientFlagAnnotation | ClientFlag Set client flag Example: ClientFlag(w = 0, fsync = false) |
| CollectionNameAnnotation | CollectionName Use this annotation to set custom collection name |
| ConnectionIdAnnotation | ConnectionIdAnnotation |
| DbRefAnnotation | DB reference annotation |
| DbRefArrayAnnotation | DB reference array annotation is used to create reference to other or same collection items. |
| EmbeddedAnnotation | Annotation for embedded document in mongo
|
| EmbeddedArrayAnnotation | Annotation for array of embedded documents in MongoDB default class name will be used for getting empty properties, but any type of embedded document can be stored within this field. |
| EntityManagerAnnotation | Set custom entity manager class |
| FinderAnnotation | FinderAnnotation |
| FromArrayAnnotation | FromArray annotation Use this annotation to ignore or include field when converting from array |
| FromJsonAnnotation | FromJson annotation Use this annotation to ignore or include field when converting from JSON array |
| HomogeneousAnnotation | HomogenousAnnotation Default to true, set this to false to allow storing arbitrary models types in collection |
| HomogenousAnnotation | HomogenousAnnotation Default to true, set this to false to allow storing arbitrary models types in collection |
| I18NAnnotation | This annotation indicates internationalized fields |
| LabelAnnotation | Label Set entity's 'label' field |
| MetaOptionsHelper | MetaOptionsHelper NOTE: This is only to get reference to current namespace, do not use it |
| PersistentAnnotation | If true, value should be saved in database. By default all public properties are stored into db, so use it only when property should not be stored |
| PrimaryKeyAnnotation | To define simple primary key mark field with |
| ReadonlyAnnotation | Readonly indicator for mongo documents |
| RelatedAnnotation | RelatedAnnotation Shorthand notation: |
| RelatedArrayAnnotation | This type of nesting objects works similarly to SQL joins. |
| RelatedOrderingAnnotation | RelatedOrderingAnnotation |
| SafeAnnotation | This is alias for SafeValidatorAnnotation |
| SanitizerAnnotation | Use Sanitizer annotation to enforce particular data type. |
| SanitizerArrayAnnotation | Sanitizer. There cen be only one sanitizer |
| SecretAnnotation | Secret Annotation |
| ToArrayAnnotation | ToArray annotation Use this annotation to ignore or include field when converting to array |
| ToJsonAnnotation | ToJson annotation Use this annotation to ignore or include field when converting to JSON array |
| UnsafeAnnotation | This is alias for UnsafeValidatorAnnotation |