|null $indexes * @param array|null $uniqueConstraints * @param array $options */ public function __construct( public readonly string|null $name = null, public readonly string|null $schema = null, public readonly array|null $indexes = null, public readonly array|null $uniqueConstraints = null, public readonly array $options = [], ) { if ($this->indexes !== null) { Deprecation::trigger( 'doctrine/orm', 'https://github.com/doctrine/orm/pull/11357', 'Providing the property $indexes on %s does not have any effect and will be removed in Doctrine ORM 4.0. Please use the %s attribute instead.', self::class, Index::class, ); } if ($this->uniqueConstraints !== null) { Deprecation::trigger( 'doctrine/orm', 'https://github.com/doctrine/orm/pull/11357', 'Providing the property $uniqueConstraints on %s does not have any effect and will be removed in Doctrine ORM 4.0. Please use the %s attribute instead.', self::class, UniqueConstraint::class, ); } } }