for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author @jayS-de <[email protected]>
*/
namespace Commercetools\Core\Request\Channels;
use Commercetools\Core\Model\Common\Context;
use Commercetools\Core\Request\AbstractQueryRequest;
use Commercetools\Core\Model\Channel\ChannelCollection;
use Commercetools\Core\Response\ApiResponseInterface;
* @package Commercetools\Core\Request\Channels
* @link https://dev.commercetools.com/http-api-projects-channels.html#channels-by-query
* @method ChannelCollection mapResponse(ApiResponseInterface $response)
class ChannelQueryRequest extends AbstractQueryRequest
{
protected $resultClass = '\Commercetools\Core\Model\Channel\ChannelCollection';
* @param Context $context
public function __construct(Context $context = null)
parent::__construct(ChannelsEndpoint::endpoint(), $context);
}
* @return static
public static function of(Context $context = null)
return new static($context);