Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/vendor/chi-teck/drupal-code-generator/src/Command/Test/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/vendor/chi-teck/drupal-code-generator/src/Command/Test/Nightwatch.php

<?php declare(strict_types=1);

namespace DrupalCodeGenerator\Command\Test;

use DrupalCodeGenerator\Application;
use DrupalCodeGenerator\Command\ModuleGenerator;
use DrupalCodeGenerator\Utils;

/**
 * Implements test:nightwatch command.
 */
final class Nightwatch extends ModuleGenerator {

  protected string $name = 'test:nightwatch';
  protected string $description = 'Generates a nightwatch test';
  protected string $alias = 'nightwatch-test';
  protected string $templatePath = Application::TEMPLATE_PATH . '/test/nightwatch';

  /**
   * {@inheritdoc}
   */
  protected function generate(array &$vars): void {
    $this->collectDefault($vars);
    $vars['test_name'] = Utils::camelize($this->ask('Test name', 'example'), FALSE);
    $this->addFile('tests/src/Nightwatch/{test_name}Test.js', 'nightwatch');
  }

}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net