You are here

public function ChecklistapiCommands::__construct in Checklist API 8

Constructs an instance.

Parameters

\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_channel: The logger channel factory.

File

src/Commands/ChecklistapiCommands.php, line 34

Class

ChecklistapiCommands
Checklist API Drush command fileA Drush commandfile.

Namespace

Drupal\checklistapi\Commands

Code

public function __construct(LoggerChannelFactoryInterface $logger_channel) {
  $this->logger = $logger_channel
    ->get('drush');
}