You are here

public function Comments::__construct in Instagram API 8

Media constructor.

Parameters

\Drupal\instagram_api\Service\Client $client: Client.

\Drupal\Core\Logger\LoggerChannelFactoryInterface $loggerFactory: LoggerChannelFactory.

File

src/Service/Comments.php, line 36

Class

Comments
Class Comments.

Namespace

Drupal\instagram_api\Service

Code

public function __construct(Client $client, LoggerChannelFactoryInterface $loggerFactory) {

  // Instagram API Client.
  $this->client = $client;
  $this->loggerFactory = $loggerFactory;
}