Type
Illuminate\JsonSchema\Types\Type
class src/Illuminate/JsonSchema/Types/Type.php
__toString
v12.28.0 から
__toString(): string
-
v12.28.0
追加
- 変更後
__toString(): string
description
v12.28.0 から
description(string $value): static
-
v12.28.0
追加
- 変更後
description(string $value): static
enum
v12.28.0 から
enum(array|string $values): static
@param class-string<\BackedEnum>|array<int, mixed> $values
nullable
v12.32.0 から
nullable(bool $nullable = true): static
-
v12.32.0
追加
- 変更後
nullable(bool $nullable = true): static
required
v12.28.0 から
required(bool $required = true): static
title
v12.28.0 から
title(string $value): static
-
v12.28.0
追加
- 変更後
title(string $value): static
toArray
v12.28.0 から
toArray(): array
@return array<string, mixed>
-
v12.28.0
追加
- 変更後
toArray(): array [@return array<string, mixed>]
toString
v12.28.0 から
toString(): string
-
v12.28.0
追加
- 変更後
toString(): string