PHP Class TippingCanoe\Imager\Storage\Filesystem

Inheritance: extends Base
Afficher le fichier Open project: tippingcanoe/imager

Protected Properties

Свойство Type Description
$publicPrefix string
$root string

Méthodes publiques

Méthode Description
delete ( Image $image, array $filters = [] ) Deletes an image.
getPublicUri ( Image $image, array $filters = [] ) : string
has ( Image $image, array $filters = [] ) : boolean | mixed
saveFile ( File $file, Image $image, array $filters = [] ) Saves an image.
setPublicPrefix ( string $prefix )
setRoot ( $path )
tempOriginal ( Image $image ) : File Tells the driver to prepare a copy of the original image locally.

Méthodes protégées

Méthode Description
generateFilePath ( Image $image, array $filters = [] ) : string
getPublicPrefix ( ) : string

Method Details

delete() public méthode

If the image is the original, also removes all derived images.
public delete ( Image $image, array $filters = [] )
$image TippingCanoe\Imager\Model\Image
$filters array

generateFilePath() protected méthode

protected generateFilePath ( Image $image, array $filters = [] ) : string
$image TippingCanoe\Imager\Model\Image
$filters array
Résultat string

getPublicPrefix() protected méthode

protected getPublicPrefix ( ) : string
Résultat string

getPublicUri() public méthode

public getPublicUri ( Image $image, array $filters = [] ) : string
$image TippingCanoe\Imager\Model\Image
$filters array
Résultat string

has() public méthode

public has ( Image $image, array $filters = [] ) : boolean | mixed
$image TippingCanoe\Imager\Model\Image
$filters array
Résultat boolean | mixed

saveFile() public méthode

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

setPublicPrefix() public méthode

public setPublicPrefix ( string $prefix )
$prefix string

setRoot() public méthode

public setRoot ( $path )
$path

tempOriginal() public méthode

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

Property Details

$publicPrefix protected_oe property

protected string $publicPrefix
Résultat string

$root protected_oe property

protected string $root
Résultat string