PHP 클래스 Spatie\Glide\GlideImage

파일 보기 프로젝트 열기: spatie/laravel-glide 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$modificationParameters The modification the need to be made on the image. Take a look at Glide's image API to see which parameters are possible. http://glide.thephpleague.com/1.0/api/quick-reference/
$sourceFile The path to the input image.

공개 메소드들

메소드 설명
create ( string $sourceFile ) : GlideImage
modify ( array $modificationParameters ) : GlideImage
save ( string $outputFile ) : string
setSourceFile ( string $sourceFile ) : GlideImage

메소드 상세

create() 공개 정적인 메소드

public static create ( string $sourceFile ) : GlideImage
$sourceFile string
리턴 GlideImage

modify() 공개 메소드

public modify ( array $modificationParameters ) : GlideImage
$modificationParameters array
리턴 GlideImage

save() 공개 메소드

public save ( string $outputFile ) : string
$outputFile string
리턴 string

setSourceFile() 공개 메소드

public setSourceFile ( string $sourceFile ) : GlideImage
$sourceFile string
리턴 GlideImage

프로퍼티 상세

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

The modification the need to be made on the image. Take a look at Glide's image API to see which parameters are possible. http://glide.thephpleague.com/1.0/api/quick-reference/
protected $modificationParameters

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

The path to the input image.
protected $sourceFile