Reference
C
Class

ApiPlatform\Api\UriVariableTransformer\IntegerUriVariableTransformer

class ApiPlatform\Api\UriVariableTransformer\IntegerUriVariableTransformer implements `<a href="/docs/reference/Api/UriVariableTransformerInterface">ApiPlatform\Api\UriVariableTransformerInterface</a>`
{
    public transform($value, array $types, array $context): int
    public supportsTransformation($value, array $types, array $context): bool
}
class ApiPlatform\Api\UriVariableTransformer\IntegerUriVariableTransformer implements `<a href="/docs/reference/Api/UriVariableTransformerInterface">ApiPlatform\Api\UriVariableTransformerInterface</a>`
{
    public transform($value, array $types, array $context): int
    public supportsTransformation($value, array $types, array $context): bool
}

Methods

transform

public transform($value, array $types, array $context): int
public transform($value, array $types, array $context): int

Parameters

value
typesarray
contextarray

Returns

int

supportsTransformation

public supportsTransformation($value, array $types, array $context): bool
public supportsTransformation($value, array $types, array $context): bool

Parameters

value
typesarray
contextarray

Returns

bool

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop