Documentation

GeneratedValue
in package
implements MappingAttribute

FinalYes
Tags
Annotation
NamedArgumentConstructor

()

Target

("PROPERTY")

Table of Contents

Interfaces

MappingAttribute
A marker interface for mapping attributes.

Properties

$strategy  : string
The type of ID generator.

Methods

__construct()  : mixed

Properties

$strategy

The type of ID generator.

public string $strategy = 'AUTO'
Tags
psalm-var

'AUTO'|'SEQUENCE'|'IDENTITY'|'NONE'|'CUSTOM'

readonly
Enum

({"AUTO", "SEQUENCE", "TABLE", "IDENTITY", "NONE", "UUID", "CUSTOM"})

Methods

__construct()

public __construct([string $strategy = 'AUTO' ]) : mixed
Parameters
$strategy : string = 'AUTO'
Tags
psalm-param

'AUTO'|'SEQUENCE'|'IDENTITY'|'NONE'|'CUSTOM' $strategy


        
On this page

Search results