Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
hiqdev
assetpackagist
models
AssetPackage
canBeUpdated
hiqdev\assetpackagist\models\AssetPackage::canBeUpdated PHP Method
AssetPackage Class Documentation
Datei anzeigen
Open project: hiqdev/asset-packagist
canBeUpdated()
public
method
Package can be updated not more often than once in 10 min.
public
canBeUpdated
( ) :
boolean
return
boolean
public function canBeUpdated() { return time() - $this->getUpdateTime() > 60 * 10; // 10 min }
AssetPackage
__construct
__sleep
buildFullName
canAutoUpdate
canBeUpdated
checkName
checkType
findOne
fromFullName
getCommonComposer
getComposer
getFullName
getHash
getIO
getName
getNormalName
getRegistry
getRelease
getReleases
getSaved
getStorage
getType
getUpdateTime
load
normalizeName
prepareReleases
prepareRequire
prepareUid
setComposer
splitFullName
update