You are here

public function Users::__construct in Instagram API 8

Media constructor.

Parameters

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

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

File

src/Service/Users.php, line 36

Class

Users
Class Users.

Namespace

Drupal\instagram_api\Service

Code

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

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