PHP Class hiqdev\assetpackagist\registry\RegistryFactory

Mostra file Open project: hiqdev/asset-packagist Class Usage Examples

Public Properties

Property Type Description
$registries Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRepository[]

Protected Properties

Property Type Description
$classes array

Public Methods

Method Description
getRegistry ( string $type, Composer\Repository\RepositoryManager $rm ) : Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRepository | BowerRegistry | NpmRegistry

Protected Methods

Method Description
buildRegistry ( string $type, Composer\Repository\RepositoryManager $rm ) : mixed

Method Details

buildRegistry() protected static method

protected static buildRegistry ( string $type, Composer\Repository\RepositoryManager $rm ) : mixed
$type string
$rm Composer\Repository\RepositoryManager
return mixed

getRegistry() public static method

public static getRegistry ( string $type, Composer\Repository\RepositoryManager $rm ) : Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRepository | BowerRegistry | NpmRegistry
$type string
$rm Composer\Repository\RepositoryManager
return Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRepository | BowerRegistry | NpmRegistry

Property Details

$classes protected_oe static_oe property

protected static array $classes
return array

$registries public_oe static_oe property

public static AbstractAssetsRepository[],Fxp\Composer\AssetPlugin\Repository $registries
return Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRepository[]