Allow to use Github Api for checking a version of this SDK and other projects.
package |
Default |
---|
__construct(\Dotpay\Model\Configuration $config, \Dotpay\Tool\Curl $curl)
close()
getAcceptHeader() : string
string
getContent(string $url) : array
Throws |
|
---|
string
Url of a destination request
array
Result which is decoded as array
getCurl() : \Dotpay\Tool\Curl
getLatestProjectVersion(string $username, string $project) : \Dotpay\Resource\Github\Version
Throws |
|
---|
string
Username of Github user
string
Name of a project
\Dotpay\Resource\Github\Version
getSdkVersion() : \Dotpay\Resource\Github\Version
isSdkNewest() : boolean
boolean
postData(string $url, \Dotpay\Resource\sring $body) : array
string
Url of a destination request
\Dotpay\Resource\sring
Body content of request which is encoded as JSON string
array
githubUrl
config : \Dotpay\Model\Configuration
curl : \Dotpay\Tool\Curl
info : array
var |
Information about last request |
---|
array