Property | Type | Description | |
---|---|---|---|
$router | Symfony\Component\Routing\RouterInterface | ||
$urlTemplate | string | Template for image URLs. | |
$variations | string[] |
array( 'small', 'thumbnail', 'large' )
|
Method | Description | |
---|---|---|
__construct ( string $temporaryDirectory, Symfony\Component\Routing\RouterInterface $router, array $variations ) | ||
postProcessValueHash ( $outgoingValueHash ) | ||
preProcessValueHash ( $incomingValueHash ) |
Method | Description | |
---|---|---|
generateUrl ( string $path, string $variation ) : string | Generates a URL for $path in $variation. |
public __construct ( string $temporaryDirectory, Symfony\Component\Routing\RouterInterface $router, array $variations ) | ||
$temporaryDirectory | string | |
$router | Symfony\Component\Routing\RouterInterface | |
$variations | array | array of variations identifiers |
protected RouterInterface,Symfony\Component\Routing $router | ||
return | Symfony\Component\Routing\RouterInterface |
protected string $urlTemplate | ||
return | string |