You are here

public function GetValueCommand::__construct in Config Pages 8.2

Same name and namespace in other branches
  1. 8.3 src/Command/GetValueCommand.php \Drupal\config_pages\Command\GetValueCommand::__construct()

Constructs a new GetValueCommand object.

Parameters

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

File

src/Command/GetValueCommand.php, line 35

Class

GetValueCommand
Class for a Drupal command to works with ConfigPages.

Namespace

Drupal\config_pages\Command

Code

public function __construct(LoggerChannelFactoryInterface $loggerChannelFactory) {
  $this->logger = $loggerChannelFactory
    ->get('config_pages');
  parent::__construct();
}