class Incoming (View source)

A seervice class to manage data in the "incoming" folder.

Properties

protected StorageLocationFactory $storageLocationFactory

The StorageLocation factory.

Methods

__construct(StorageLocationFactory $storageLocationFactory)

Initialize the instance.

string
getIncomingPath()

Get the path of the "incoming" directory (relative to the incoming filesystem).

getIncomingStorageLocation()

Get the storage location for the "incoming" files.

FilesystemInterface
getIncomingFilesystem()

Get the filesystem object to be used to work with the incoming directory.

Details

__construct(StorageLocationFactory $storageLocationFactory)

Initialize the instance.

Parameters

StorageLocationFactory $storageLocationFactory

string getIncomingPath()

Get the path of the "incoming" directory (relative to the incoming filesystem).

Return Value

string

StorageLocation getIncomingStorageLocation()

Get the storage location for the "incoming" files.

Return Value

StorageLocation

FilesystemInterface getIncomingFilesystem()

Get the filesystem object to be used to work with the incoming directory.

Return Value

FilesystemInterface