webprofiler-10.0.x-dev/tests/modules/webprofiler_config_entity/src/TestConfigStorage.php

tests/modules/webprofiler_config_entity/src/TestConfigStorage.php
<?php

namespace Drupal\webprofiler_config_entity;

use Drupal\Core\Config\Entity\ConfigEntityStorage;
use Drupal\node\Entity\Node;

/**
 * Defines the testconfig storage.
 */
class TestConfigStorage extends ConfigEntityStorage implements TestConfigStorageInterface {

  public function method0() {
  }

  public function method1(): void {
  }

  public function method2($param1): int {
    return 0;
  }

  public function method3(string $param1): string {
    return '';
  }

  public function method4(string $param1, string $param2): ?string {
    return '';
  }

  public function method5(?string $param1 = NULL): ?string {
    return '';
  }

  public function method6(bool $param1 = FALSE): mixed {
    return '';
  }

  public function method7(bool $param1 = TRUE): void {
  }

  public function method8(array $param1 = []): void {
  }

  public function method9(int $param1 = 5): void {
  }

  public function method10(string $param1): void {
  }

  public function method11(?array $param1 = null): array {
    return [];
  }

  public function method12(string ...$param1): float {
    return 0.0;
  }

  public function method13(string &$param1): bool {
    return FALSE;
  }

  public function method14(Node $param1): bool {
    return FALSE;
  }

  public function method15(Node $param1): Node {
    return new Node([], '');
  }
}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc