Reference
C
Class

ApiPlatform\Doctrine\Orm\State\Options

class ApiPlatform\Doctrine\Orm\State\Options implements `<a href="/docs/reference/State/OptionsInterface">ApiPlatform\State\OptionsInterface</a>`
{
    public __construct(null|string $entityClass)
    public getEntityClass(): string
    public withEntityClass(null|string $entityClass): ApiPlatform\Doctrine\Orm\State\Options
}
class ApiPlatform\Doctrine\Orm\State\Options implements `<a href="/docs/reference/State/OptionsInterface">ApiPlatform\State\OptionsInterface</a>`
{
    public __construct(null|string $entityClass)
    public getEntityClass(): string
    public withEntityClass(null|string $entityClass): ApiPlatform\Doctrine\Orm\State\Options
}

Properties

entityClass

string $entityClass
string $entityClass

Methods

__construct

public __construct(null|string $entityClass)
public __construct(null|string $entityClass)

Parameters

entityClassstring

getEntityClass

public getEntityClass(): string
public getEntityClass(): string

Returns

string

withEntityClass

public withEntityClass(null|string $entityClass): ApiPlatform\Doctrine\Orm\State\Options
public withEntityClass(null|string $entityClass): ApiPlatform\Doctrine\Orm\State\Options

Parameters

entityClassstring

Returns

ApiPlatform\Doctrine\Orm\State\Options

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop