public function __construct(CommandData $commandData) { $this->commandData = $commandData; $this->path = $commandData->config->pathRepository; $this->fileName = $this->commandData->modelName . 'Repository.php'; }