Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Public Member Functions | List of all members
eZ\Publish\SPI\FieldType\BinaryBase\RouteAwarePathGenerator Interface Reference

A variant of PathGenerator that uses Symfony routes for generating URIs. More...

Inheritance diagram for eZ\Publish\SPI\FieldType\BinaryBase\RouteAwarePathGenerator:

## Public Member Functions
| getRoute (Field $field, VersionInfo $versionInfo)
| getParameters (Field $field, VersionInfo $versionInfo)
| generate (string $route, array $parameters=[])
Public Member Functions inherited from eZ\Publish\SPI\FieldType\BinaryBase\PathGeneratorInterface
| getStoragePathForField (Field $field, VersionInfo $versionInfo)

## Detailed Description

A variant of PathGenerator that uses Symfony routes for generating URIs.

Definition at line 17 of file RouteAwarePathGenerator.php.

## Member Function Documentation

## ◆ generate()

eZ\Publish\SPI\FieldType\BinaryBase\RouteAwarePathGenerator::generate | ( | string | $route,
|  | array | $parameters = `[]`
| ) |  |

## ◆ getParameters()

eZ\Publish\SPI\FieldType\BinaryBase\RouteAwarePathGenerator::getParameters | ( | Field | $field,
|  | VersionInfo | $versionInfo
| ) |  |

Implemented in eZ\Publish\Core\MVC\Symfony\FieldType\BinaryBase\ContentDownloadUrlGenerator.

## ◆ getRoute()

eZ\Publish\SPI\FieldType\BinaryBase\RouteAwarePathGenerator::getRoute | ( | Field | $field,
|  | VersionInfo | $versionInfo
| ) |  |

Implemented in eZ\Publish\Core\MVC\Symfony\FieldType\BinaryBase\ContentDownloadUrlGenerator.

The documentation for this interface was generated from the following file:

- RouteAwarePathGenerator.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.