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