You are here

public function Markdown::__construct in Markdown 8.2

Same name and namespace in other branches
  1. 3.0.x src/Markdown.php \Drupal\markdown\Markdown::__construct()

Markdown constructor.

Parameters

\Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend.

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The Config Factory service.

\Drupal\Core\File\FileSystemInterface $fileSystem: The File System service.

\GuzzleHttp\ClientInterface $httpClient: The HTTP Client service.

\Drupal\markdown\PluginManager\ParserManagerInterface $parserManager: The Markdown Parser Plugin Manager service.

File

src/Markdown.php, line 75

Class

Markdown
Markdown service.

Namespace

Drupal\markdown

Code

public function __construct(CacheBackendInterface $cache, ConfigFactoryInterface $configFactory, FileSystemInterface $fileSystem, ClientInterface $httpClient, ParserManagerInterface $parserManager) {
  $this->cache = $cache;
  $this->configFactory = $configFactory;
  $this->fileSystem = $fileSystem;
  $this->httpClient = $httpClient;
  $this->parserManager = $parserManager;
}