class ApiPlatform\Doctrine\Odm\State\Options extends implements `<a href="/docs/main/references/State/OptionsInterface">ApiPlatform\State\OptionsInterface
{
public __construct(null|string $documentClass, $handleLinks)
public getDocumentClass(): string
public withDocumentClass(null|string $documentClass): ApiPlatform\Doctrine\Odm\State\Options
public getHandleLinks()
public withHandleLinks($handleLinks): ApiPlatform\Doctrine\Common\State\Options
}
string $documentClass
$handleLinks
public __construct(null|string $documentClass, $handleLinks)
documentClass | string | |
handleLinks | experimental callable, typed mixed as we may want a service name in the future |
public getDocumentClass(): string
string
public withDocumentClass(null|string $documentClass): ApiPlatform\Doctrine\Odm\State\Options
documentClass | string |
<a href="/docs/main/references/Doctrine/Odm/State/Options">ApiPlatform\Doctrine\Odm\State\Options</a>
Made with love by
Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.
Learn more