Represent informations about the version of a software on Github server.
| package |
Default |
|---|
__construct(string $number, string $zip)
stringNumber of the version
stringUrl address of a place where from it's possible do download a zip file with a software
getCreated() : \DateTime
\DateTime
getNumber() : string
string
getPublished() : \DateTime
\DateTime
getUrl() : string
string
getZip() : string
string
isNewAvailable(string $checkedNumber) : boolean
stringNumber of checked version
boolean
setCreated(\DateTime $created) : \Dotpay\Resource\Github\Version
\DateTimeDate and time when the version has been created
\Dotpay\Resource\Github\Version
setNumber(string $number) : \Dotpay\Resource\Github\Version
setPublished(\DateTime $published) : \Dotpay\Resource\Github\Version
\DateTimeDate and time when the version has been published
\Dotpay\Resource\Github\Version
setUrl(string $url) : \Dotpay\Resource\Github\Version
| Throws |
|
|---|
stringUrl where are available informations about the version
\Dotpay\Resource\Github\Version
setZip(string $zip) : \Dotpay\Resource\Github\Version
| Throws |
|
|---|
stringUrl address of a place where from it's possible do download a zip file with a software
\Dotpay\Resource\Github\Version
number : string
| var |
Number of the version |
|---|
string
url : string
| var |
Url where are available informations about the version |
|---|
string
zip : string
| var |
Url address of a place where from it's possible do download a zip file with a software |
|---|
string
created : \DateTime
| var |
Date and time when the version has been created |
|---|
\DateTime
published : \DateTime
| var |
Date and time when the version has been published |
|---|
\DateTime