PHP Класс TippingCanoe\Imager\Storage\S3

Наследование: extends Base
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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