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 |
|
|---|
stringUrl of a destination request
arrayResult which is decoded as array
getCurl() : \Dotpay\Tool\Curl
getLatestProjectVersion(string $username, string $project) : \Dotpay\Resource\Github\Version
| Throws |
|
|---|
stringUsername of Github user
stringName of a project
\Dotpay\Resource\Github\Version
getSdkVersion() : \Dotpay\Resource\Github\Version
isSdkNewest() : boolean
boolean
postData(string $url, \Dotpay\Resource\sring $body) : array
stringUrl of a destination request
\Dotpay\Resource\sringBody 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