Test Setup Failed
Push — master ( 80a7cc...26b8e4 )
by Alexey
02:49
created

PostApi   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 15
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace Skobkin\Bundle\PointToolsBundle\Service\Api;
4
5
use GuzzleHttp\ClientInterface;
6
use JMS\Serializer\Serializer;
7
use Psr\Log\LoggerInterface;
8
use Skobkin\Bundle\PointToolsBundle\Service\Factory\Blogs\PostFactory;
9
10
/**
11
 * Basic Point.im user API functions from /api/post
12
 */
13
class PostApi extends AbstractApi
14
{
15
    /**
16
     * @var PostFactory
17
     */
18
    private $postFactory;
19
20
21
    public function __construct(ClientInterface $httpClient, Serializer $serializer, LoggerInterface $logger, PostFactory $postFactory)
22
    {
23
        parent::__construct($httpClient, $serializer, $logger);
24
25
        $this->postFactory = $postFactory;
26
    }
27
}
28