PHP 클래스 Bolt\Filesystem\Plugin\ThumbnailUrl

저자: Carson Full ([email protected])
상속: implements Bolt\Filesystem\PluginInterface, use trait PluginTrait
파일 보기 프로젝트 열기: bolt/bolt 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$urlGenerator Symfony\Component\Routing\Generator\UrlGeneratorInterface

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator ) Constructor.
getMethod ( )
handle ( string $path, integer $width, integer $height, string $action ) : string Generate thumbnail url.

메소드 상세

__construct() 공개 메소드

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

getMethod() 공개 메소드

public getMethod ( )

handle() 공개 메소드

Generate thumbnail url.
public handle ( string $path, integer $width, integer $height, string $action ) : string
$path string
$width integer
$height integer
$action string
리턴 string

프로퍼티 상세

$urlGenerator 보호되어 있는 프로퍼티

protected UrlGeneratorInterface,Symfony\Component\Routing\Generator $urlGenerator
리턴 Symfony\Component\Routing\Generator\UrlGeneratorInterface