code: protected function prepareOutputPath(
          Configuration $configuration,
          ClassName $className
      ) {
          $this->typeCheck->prepareOutputPath(func_get_args());
  
          $path = $this->outputPath($configuration, $className);
          $parentPath = dirname($path);
          if (!$this->isolator->is_dir($parentPath)) {
              $this->isolator->mkdir($parentPath, 0777, true);
          }
  
          return $path;
      }
docs: @param Configuration $configuration
  @param ClassName     $className
  
  @return string