You are here

public function Meeting::__construct in BigBlueButton 8

Meeting constructor.

Parameters

\Drupal\bbb\Service\Api $api: Drupal API for BigBlueButton service.

\Drupal\Core\PrivateKey $private_key: Private key service.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: Module handler.

\Drupal\Core\KeyValueStore\KeyValueFactoryInterface $keyvalue: Keyvalue service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager.

\Drupal\Core\Session\AccountInterface $current_user: Current user instance.

\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: Logger factory.

File

src/Service/Meeting.php, line 100

Class

Meeting
Class Meeting.

Namespace

Drupal\bbb\Service

Code

public function __construct(Api $api, PrivateKey $private_key, ModuleHandlerInterface $module_handler, KeyValueFactoryInterface $keyvalue, EntityTypeManagerInterface $entity_type_manager, AccountInterface $current_user, LoggerChannelFactoryInterface $logger_factory) {
  $this->api = $api;
  $this->privateKey = $private_key;
  $this->currentUser = $current_user;
  $this->entityTypeManager = $entity_type_manager;
  $this->moduleHandler = $module_handler;
  $this->meetingCollection = $keyvalue
    ->get('bbb_meetings');
  $this->log = $logger_factory
    ->get('bbb');
}