PHP Class FluidTYPO3\Flux\Package\FluxPackageFactory

Creates instances of FluxPackage based on provided extension name. Stores created instances in memory.
Afficher le fichier Open project: fluidtypo3/flux Class Usage Examples

Protected Properties

Свойство Type Description
$overrides array | null
$packages FluidTYPO3\Flux\Package\FluxPackageInterface[]

Méthodes publiques

Méthode Description
getPackage ( string $qualifiedExtensionName ) : FluidTYPO3\Flux\Package\FluxPackageInterface Returns the FluxPackage instance associated with and possibly existing in $qualifiedExtensionName.
getPackageWithFallback ( string $qualifiedExtensionName ) : FluidTYPO3\Flux\Package\FluxPackageInterface Returns the FluxPackage instance associated with and possibly existing in $qualifiedExtensionName, but falls back to returning the Flux root package if the requested package does not exist.

Méthodes protégées

Méthode Description
getTypoScriptOverrides ( string $qualifiedExtensionName ) : array

Method Details

getPackage() public static méthode

Returns the FluxPackage instance associated with and possibly existing in $qualifiedExtensionName.
public static getPackage ( string $qualifiedExtensionName ) : FluidTYPO3\Flux\Package\FluxPackageInterface
$qualifiedExtensionName string
Résultat FluidTYPO3\Flux\Package\FluxPackageInterface

getPackageWithFallback() public static méthode

Returns the FluxPackage instance associated with and possibly existing in $qualifiedExtensionName, but falls back to returning the Flux root package if the requested package does not exist.
public static getPackageWithFallback ( string $qualifiedExtensionName ) : FluidTYPO3\Flux\Package\FluxPackageInterface
$qualifiedExtensionName string
Résultat FluidTYPO3\Flux\Package\FluxPackageInterface

getTypoScriptOverrides() protected méthode

protected getTypoScriptOverrides ( string $qualifiedExtensionName ) : array
$qualifiedExtensionName string
Résultat array

Property Details

$overrides protected_oe static_oe property

protected static array|NULL $overrides
Résultat array | null

$packages protected_oe static_oe property

protected static FluxPackageInterface[],FluidTYPO3\Flux\Package $packages
Résultat FluidTYPO3\Flux\Package\FluxPackageInterface[]