PHP Class Bolt\Filesystem\Plugin\ThumbnailUrl

Author: Carson Full ([email protected])
Inheritance: implements Bolt\Filesystem\PluginInterface, use trait PluginTrait
Afficher le fichier Open project: bolt/bolt Class Usage Examples

Protected Properties

Свойство Type Description
$urlGenerator Symfony\Component\Routing\Generator\UrlGeneratorInterface

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator ) Constructor.
getMethod ( )
handle ( string $path, integer $width, integer $height, string $action ) : string Generate thumbnail url.

Method Details

__construct() public méthode

Constructor.
public __construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator )
$urlGenerator Symfony\Component\Routing\Generator\UrlGeneratorInterface

getMethod() public méthode

public getMethod ( )

handle() public méthode

Generate thumbnail url.
public handle ( string $path, integer $width, integer $height, string $action ) : string
$path string
$width integer
$height integer
$action string
Résultat string

Property Details

$urlGenerator protected_oe property

protected UrlGeneratorInterface,Symfony\Component\Routing\Generator $urlGenerator
Résultat Symfony\Component\Routing\Generator\UrlGeneratorInterface