Guides
Tutorials
class ApiPlatform\Symfony\Bundle\DataCollector\RequestDataCollector extends Symfony\Component\HttpKernel\DataCollector\DataCollector implements Symfony\Contracts\Service\ResetInterface, Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface
{
public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $metadataFactory, Psr\Container\ContainerInterface $filterLocator)
public collect(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpFoundation\Response $response, null|Throwable $exception): null
public getVersion(): string
public getName(): string
public getData(): Symfony\Component\VarDumper\Cloner\Data|array
public getAcceptableContentTypes(): array
public getRequestAttributes(): array
public getResources(): array
public reset(): null
protected cloneVar($var): Symfony\Component\VarDumper\Cloner\Data
protected getCasters(): array<int, callable>
public __sleep(): array
public __wakeup()
protected serialize()
protected unserialize(string $data)
}
class ApiPlatform\Symfony\Bundle\DataCollector\RequestDataCollector extends Symfony\Component\HttpKernel\DataCollector\DataCollector implements Symfony\Contracts\Service\ResetInterface, Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface
{
public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $metadataFactory, Psr\Container\ContainerInterface $filterLocator)
public collect(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpFoundation\Response $response, null|Throwable $exception): null
public getVersion(): string
public getName(): string
public getData(): Symfony\Component\VarDumper\Cloner\Data|array
public getAcceptableContentTypes(): array
public getRequestAttributes(): array
public getResources(): array
public reset(): null
protected cloneVar($var): Symfony\Component\VarDumper\Cloner\Data
protected getCasters(): array<int, callable>
public __sleep(): array
public __wakeup()
protected serialize()
protected unserialize(string $data)
}
array|Symfony\Component\VarDumper\Cloner\Data $data
array|Symfony\Component\VarDumper\Cloner\Data $data
public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $metadataFactory, Psr\Container\ContainerInterface $filterLocator)
public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $metadataFactory, Psr\Container\ContainerInterface $filterLocator)
metadataFactory | ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface | |
filterLocator | Psr\Container\ContainerInterface |
Collects data for the given Request and Response.Collects data for the given Request and Response.
public collect(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpFoundation\Response $response, null|Throwable $exception): null
public collect(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpFoundation\Response $response, null|Throwable $exception): null
request | Symfony\Component\HttpFoundation\Request | |
response | Symfony\Component\HttpFoundation\Response | |
exception | Throwable |
null
public getVersion(): string
public getVersion(): string
string
Returns the name of the collector.Returns the name of the collector.
public getName(): string
public getName(): string
string
public getData(): Symfony\Component\VarDumper\Cloner\Data|array
public getData(): Symfony\Component\VarDumper\Cloner\Data|array
Symfony\Component\VarDumper\Cloner\Data
array
public getAcceptableContentTypes(): array
public getAcceptableContentTypes(): array
array
public getRequestAttributes(): array
public getRequestAttributes(): array
array
public getResources(): array
public getResources(): array
array
public reset(): null
public reset(): null
null