for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author @jayS-de <[email protected]>
* @created: 02.02.15, 11:44
*/
namespace Commercetools\Core\Request;
use Commercetools\Core\Client\HttpRequest;
use Commercetools\Core\Client\HttpMethod;
use Commercetools\Core\Model\Common\Collection;
use Commercetools\Core\Model\Common\Context;
use Commercetools\Core\Model\Common\JsonDeserializeInterface;
use Commercetools\Core\Model\Common\JsonObject;
* @package Commercetools\Core\Request
abstract class AbstractProjectionRequest extends AbstractApiRequest
{
use StagedTrait;
* @return string
abstract protected function getProjectionAction();
* @internal
protected function getPath()
return (string)$this->getEndpoint() . '/' . $this->getProjectionAction() . $this->getParamString();
}
* @return HttpRequest
public function httpRequest()
return new HttpRequest(HttpMethod::GET, $this->getPath());