Guides
Tutorials
class ApiPlatform\Elasticsearch\State\Options implements `<a href="/docs/reference/State/OptionsInterface">ApiPlatform\State\OptionsInterface</a>`
{
public __construct(null|string $index, null|string $type)
public getIndex(): string
public withIndex(null|string $index): ApiPlatform\Elasticsearch\State\Options
public getType(): string
public withType(null|string $type): ApiPlatform\Elasticsearch\State\Options
}class ApiPlatform\Elasticsearch\State\Options implements `<a href="/docs/reference/State/OptionsInterface">ApiPlatform\State\OptionsInterface</a>`
{
public __construct(null|string $index, null|string $type)
public getIndex(): string
public withIndex(null|string $index): ApiPlatform\Elasticsearch\State\Options
public getType(): string
public withType(null|string $type): ApiPlatform\Elasticsearch\State\Options
}string $indexstring $indexstring $typestring $typepublic __construct(null|string $index, null|string $type)public __construct(null|string $index, null|string $type)| index | string | |
| type | string |
public getIndex(): stringpublic getIndex(): stringstring
public withIndex(null|string $index): ApiPlatform\Elasticsearch\State\Optionspublic withIndex(null|string $index): ApiPlatform\Elasticsearch\State\Options| index | string |
ApiPlatform\Elasticsearch\State\Options
public getType(): stringpublic getType(): stringstring
public withType(null|string $type): ApiPlatform\Elasticsearch\State\Optionspublic withType(null|string $type): ApiPlatform\Elasticsearch\State\Options| type | string |