Property | Type | Description | |
---|---|---|---|
$_commonComposer | Composer\Composer | ||
$_composer | Composer\Composer | ||
$_hash | |||
$_io | Composer\IO\NullIO | ||
$_name | |||
$_registry | Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository | |
||
$_releases | array | ||
$_saved | |||
$_type | |||
$_updateTime | UNIX Epoch timestamp of the latest package update |
Method | Description | |
---|---|---|
__construct ( $type, $name, $config = [] ) | ||
__sleep ( ) : array | ||
buildFullName ( $type, $name ) | ||
canAutoUpdate ( ) : boolean | Whether tha package should be auth-updated (if it is older than 1 day). | |
canBeUpdated ( ) : boolean | Package can be updated not more often than once in 10 min. | |
checkName ( $name ) | ||
checkType ( $type ) | ||
findOne ( string $type, string $name ) : static | null | findOne. | |
fromFullName ( string $full ) : static | ||
getCommonComposer ( ) : Composer\Composer | ||
getComposer ( ) : Composer\Composer | ||
getFullName ( ) | ||
getHash ( ) | ||
getIO ( ) | ||
getName ( ) | ||
getNormalName ( ) | ||
getRegistry ( ) | ||
getRelease ( $version ) : array | ||
getReleases ( ) : array | ||
getSaved ( ) | ||
getStorage ( ) : |
||
getType ( ) | ||
getUpdateTime ( ) : integer | null | Returns the latest update time (UNIX Epoch). | |
load ( ) | ||
normalizeName ( $name ) | ||
prepareReleases ( Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository $repository ) : array | ||
prepareRequire ( array $links ) : array | Prepares array of requires: name => constraint. | |
prepareUid ( $version ) | ||
setComposer ( $value ) | ||
splitFullName ( $full ) | ||
update ( ) |
public canAutoUpdate ( ) : boolean | ||
return | boolean |
public canBeUpdated ( ) : boolean | ||
return | boolean |
public static fromFullName ( string $full ) : static | ||
$full | string | package name |
return | static |
public static getCommonComposer ( ) : Composer\Composer | ||
return | Composer\Composer |
public getStorage ( ) : |
||
return |
public getUpdateTime ( ) : integer | null | ||
return | integer | null |
public prepareReleases ( Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository $repository ) : array | ||
$repository | Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository | |
return | array |
public prepareRequire ( array $links ) : array | ||
$links | array | |
return | array |
protected static Composer,Composer $_commonComposer | ||
return | Composer\Composer |
protected AssetVcsRepository,Fxp\Composer\AssetPlugin\Repository|BowerRegistry,hiqdev\assetpackagist\registry|NpmRegistry,hiqdev\assetpackagist\registry $_registry | ||
return | Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository | |