ChangePostQuery
class ChangePostQuery extends AbstractQuery
Builds URL ChangePost REST-API calls.
Also holds the response after being executed.
Methods
__construct(Post $post, string $username)
The query constructor builds the url and saves it into the url property.
$this
execute(Client $httpClient)
Execute a prepared query.
string
bibliography(string $bibliographyStyleName, string $lang = 'en-US', string $bibliographyStyle = '')
No description
from AbstractQuery
string
getResourceHash()
No description
setResourceHash(string $resourceHash)
No description
Details
at line 63
__construct(Post $post, string $username)
The query constructor builds the url and saves it into the url property.
PUT /users/[username]/posts/[resourceHash]
at line 89
$this
execute(Client $httpClient)
Execute a prepared query.