AbstractApi now has 'abstract' definition.

This commit is contained in:
Alexey Skobkin 2017-11-06 04:54:02 +03:00
parent a44ce74d9b
commit 8f8f6973c0

View file

@ -4,15 +4,13 @@ namespace Skobkin\Bundle\PointToolsBundle\Service\Api;
use GuzzleHttp\ClientInterface; use GuzzleHttp\ClientInterface;
use GuzzleHttp\Exception\TransferException; use GuzzleHttp\Exception\TransferException;
use JMS\Serializer\{ use JMS\Serializer\{DeserializationContext, SerializerInterface};
DeserializationContext, SerializerInterface
};
use Psr\Http\Message\{ResponseInterface, StreamInterface}; use Psr\Http\Message\{ResponseInterface, StreamInterface};
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;
use Skobkin\Bundle\PointToolsBundle\Exception\Api\{ForbiddenException, NetworkException, NotFoundException, ServerProblemException, UnauthorizedException}; use Skobkin\Bundle\PointToolsBundle\Exception\Api\{ForbiddenException, NetworkException, NotFoundException, ServerProblemException, UnauthorizedException};
use Symfony\Component\HttpFoundation\Response as SymfonyResponse; use Symfony\Component\HttpFoundation\Response as SymfonyResponse;
class AbstractApi abstract class AbstractApi
{ {
/** /**
* @var ClientInterface HTTP-client from Guzzle * @var ClientInterface HTTP-client from Guzzle