27 lines
577 B
PHP
27 lines
577 B
PHP
<?php
|
|
|
|
namespace Skobkin\Bundle\PointToolsBundle\Service;
|
|
|
|
use GuzzleHttp\ClientInterface;
|
|
use Psr\Log\LoggerInterface;
|
|
use Skobkin\Bundle\PointToolsBundle\Service\Factory\Blogs\PostFactory;
|
|
|
|
/**
|
|
* Basic Point.im user API functions from /api/post
|
|
*/
|
|
class PostApi extends AbstractApi
|
|
{
|
|
/**
|
|
* @var PostFactory
|
|
*/
|
|
private $postFactory;
|
|
|
|
|
|
public function __construct(ClientInterface $httpClient, LoggerInterface $logger, PostFactory $postFactory)
|
|
{
|
|
parent::__construct($httpClient, $logger);
|
|
|
|
$this->postFactory = $postFactory;
|
|
}
|
|
}
|