You are here

GetStringHelper.php in Lightweight Directory Access Protocol (LDAP) 8.4

File

ldap_user/tests/src/Kernel/GetStringHelper.php
View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\ldap_user\Kernel;


/**
 * Helper function for getString().
 */
class GetStringHelper {

  /**
   * Value.
   *
   * @var mixed
   */
  public $value;

  /**
   * Return $value as string.
   *
   * @return string
   *   Value.
   */
  public function getString() : string {
    return (string) $this->value;
  }

}

Classes

Namesort descending Description
GetStringHelper Helper function for getString().