blob: 1459c9ff3b3aadd22bc8e8117c6df4ea909dfa3f [file] [log] [blame]
<?php
namespace PredictionIO\Command;
use Guzzle\Http\Message\RequestInterface;
use Guzzle\Service\Command\AbstractCommand;
/**
* Add Dislike
*
* A user dislikes an item
*
* @guzzle uid type="string" required="true"
* @guzzle iid type="string" required="true"
* @guzzle t type="string"
* @guzzle latlng type="string"
*/
class UserDislikeItem extends UserActionItem
{
/**
* Create the request object that will carry out the command. Used internally by Guzzle.
*/
protected function build()
{
$this->request = $this->client->createRequest(RequestInterface::POST, 'actions/u2i/dislike', null, $this->getAll());
}
}
?>