public function BynderApi::__construct in Bynder 8
Same name and namespace in other branches
- 8.3 src/BynderApi.php \Drupal\bynder\BynderApi::__construct()
- 8.2 src/BynderApi.php \Drupal\bynder\BynderApi::__construct()
- 4.0.x src/BynderApi.php \Drupal\bynder\BynderApi::__construct()
BynderApi constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Config factory.
\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: Logger factory.
\Symfony\Component\HttpFoundation\Session\SessionInterface $session: The session service.
\Drupal\Core\State\StateInterface $state: The state service.
\Drupal\Core\Cache\CacheBackendInterface $cache: The cache service.
\Drupal\Component\Datetime\TimeInterface $time: The time service.
File
- src/
BynderApi.php, line 144
Class
- BynderApi
- Bynder API service.
Namespace
Drupal\bynderCode
public function __construct(ConfigFactoryInterface $config_factory, LoggerChannelFactoryInterface $logger_factory, SessionInterface $session, StateInterface $state, CacheBackendInterface $cache, TimeInterface $time) {
$this->configFactory = $config_factory;
$this->loggerFactory = $logger_factory;
$this->session = $session;
$this->state = $state;
$this->cache = $cache;
$this->time = $time;
}