class ExternalFileProviderFactory (View source)

Class ExternalFileProviderFactory Get ahold of existing external file providers and create new ones.

Properties

protected EntityManagerInterface $entityManager

Methods

__construct(EntityManagerInterface $entityManager)

No description

create(ConfigurationInterface $configuration, $name)

Create a new ExternalFileProvider, pass this to ExternalFileProviderFactory->persist() to store this external file provider.

ExternalFileProvider|object|null
fetchByID(int $id)

Fetch a external file provider by its ID.

ExternalFileProvider|null|object
fetchByName(string $name)

Fetch a external file provider by its name.

fetchList()

Fetch a list of external file providers.

persist(ExternalFileProvider $externalFileProvider)

Store a created external file provider to the database.

Details

__construct(EntityManagerInterface $entityManager)

No description

Parameters

EntityManagerInterface $entityManager

ExternalFileProvider create(ConfigurationInterface $configuration, $name)

Create a new ExternalFileProvider, pass this to ExternalFileProviderFactory->persist() to store this external file provider.

Parameters

ConfigurationInterface $configuration
$name

Return Value

ExternalFileProvider

ExternalFileProvider|object|null fetchByID(int $id)

Fetch a external file provider by its ID.

Parameters

int $id

Return Value

ExternalFileProvider|object|null

ExternalFileProvider|null|object fetchByName(string $name)

Fetch a external file provider by its name.

Parameters

string $name

Return Value

ExternalFileProvider|null|object

ExternalFileProvider[]|object[] fetchList()

Fetch a list of external file providers.

Return Value

ExternalFileProvider[]|object[]

ExternalFileProvider persist(ExternalFileProvider $externalFileProvider)

Store a created external file provider to the database.

Parameters

ExternalFileProvider $externalFileProvider

Return Value

ExternalFileProvider