Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

IOMetadataHandler.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\IO;
8
9 use eZ\Publish\SPI\IO\BinaryFile;
10 use eZ\Publish\SPI\IO\BinaryFileCreateStruct;
11
15 interface IOMetadataHandler
16 {
26 public function create(BinaryFileCreateStruct $spiBinaryFileCreateStruct);
27
35 public function delete($spiBinaryFileId);
36
44 public function load($spiBinaryFileId);
45
53 public function exists($spiBinaryFileId);
54
62 public function getMimeType($spiBinaryFileId);
63
64 public function deleteDirectory($spiPath);
65 }
eZ\Publish\Core\IO\Values\BinaryFileCreateStruct
Create struct for BinaryFile objects.
Definition: Core/IO/Values/BinaryFileCreateStruct.php:15
eZ\Publish\SPI\IO\BinaryFileCreateStruct
Create struct for BinaryFile objects.
Definition: SPI/IO/BinaryFileCreateStruct.php:13
eZ\Publish\SPI\IO\BinaryFile
This class provides an abstract access to binary files.
Definition: SPI/IO/BinaryFile.php:15
eZ\Publish\Core\IO\IOMetadataHandler
Provides reading & writing of files meta data (size, modification time...).
Definition: IOMetadataHandler.php:16
eZ\Publish\Core\IO\IOMetadataHandler\load
load($spiBinaryFileId)
Loads and returns metadata for $spiBinaryFileId.
eZ\Publish\Core\IO\IOMetadataHandler\exists
exists($spiBinaryFileId)
Checks if a file $spiBinaryFileId exists.
eZ\Publish\Core\IO\IOMetadataHandler\getMimeType
getMimeType($spiBinaryFileId)
Returns the file's mimetype.
eZ\Publish\Core\IO\IOMetadataHandler\create
create(BinaryFileCreateStruct $spiBinaryFileCreateStruct)
Stores the file from $binaryFileCreateStruct.
eZ\Publish\Core\IO\IOMetadataHandler\deleteDirectory
deleteDirectory($spiPath)
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.