PHP 클래스 TippingCanoe\Imager\Storage\S3

상속: extends Base
파일 보기 프로젝트 열기: tippingcanoe/imager

보호된 프로퍼티들

프로퍼티 타입 설명
$awsBucket string
$s3 Aws\S3\S3Client

공개 메소드들

메소드 설명
__construct ( S3Client $s3Client )
delete ( Image $image, array $filters = [] ) Tells the driver to delete an image.
getPublicUri ( Image $image, array $filters = [] ) : string Returns the public URI for an image by a specific configuration.
has ( Image $image, array $filters = [] ) : boolean Asks the driver if it has a particular image.
saveFile ( File $file, Image $image, array $filters = [] ) Saves an image.
setBucket ( string $bucket )
tempOriginal ( Image $image ) : File Tells the driver to prepare a copy of the original image locally.

메소드 상세

__construct() 공개 메소드

public __construct ( S3Client $s3Client )
$s3Client Aws\S3\S3Client

delete() 공개 메소드

Deleting must at least ensure that afterwards, any call to has() returns false.
public delete ( Image $image, array $filters = [] )
$image TippingCanoe\Imager\Model\Image
$filters array

getPublicUri() 공개 메소드

Returns the public URI for an image by a specific configuration.
public getPublicUri ( Image $image, array $filters = [] ) : string
$image TippingCanoe\Imager\Model\Image
$filters array
리턴 string

has() 공개 메소드

Asks the driver if it has a particular image.
public has ( Image $image, array $filters = [] ) : boolean
$image TippingCanoe\Imager\Model\Image
$filters array
리턴 boolean

saveFile() 공개 메소드

Exceptions can provide extended error information and will abort the save process.
public saveFile ( File $file, Image $image, array $filters = [] )
$file Symfony\Component\HttpFoundation\File\File
$image TippingCanoe\Imager\Model\Image
$filters array

setBucket() 공개 메소드

public setBucket ( string $bucket )
$bucket string

tempOriginal() 공개 메소드

Tells the driver to prepare a copy of the original image locally.
public tempOriginal ( Image $image ) : File
$image TippingCanoe\Imager\Model\Image
리턴 Symfony\Component\HttpFoundation\File\File

프로퍼티 상세

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

protected string $awsBucket
리턴 string

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

protected S3Client,Aws\S3 $s3
리턴 Aws\S3\S3Client