You are here

public function FindCommand::__construct in MongoDB 8.2

FindCommand constructor.

Parameters

\Drupal\mongodb\Install\Tools $tools: The mongodb.tools service.

\Drupal\Component\Serialization\SerializationInterface $yaml: The serialization.yaml service.

File

modules/mongodb/src/Command/FindCommand.php, line 50

Class

FindCommand
Class FindCommand provides the 'commands.mongodb.find' command.

Namespace

Drupal\mongodb\Command

Code

public function __construct(Tools $tools, SerializationInterface $yaml) {
  parent::__construct();
  $this->serialization = $yaml;
  $this->tools = $tools;
}