/** * AbstractCommandQueryService constructor. * * @param $commandQueryName * @param $moduleName * @param \CodeMine\CommandQueryGenerator\Service\DirectoryService $directoryService */ public function __construct($commandQueryName, $moduleName, DirectoryService $directoryService) { $this->commandQueryName = $commandQueryName; $this->modulePath = $directoryService->getPathForModule($moduleName); $this->moduleName = $moduleName; $this->directoryService = $directoryService; }