You are here

class GetStringHelper in Lightweight Directory Access Protocol (LDAP) 8.4

Helper function for getString().

Hierarchy

Expanded class hierarchy of GetStringHelper

File

ldap_user/tests/src/Kernel/GetStringHelper.php, line 10

Namespace

Drupal\Tests\ldap_user\Kernel
View source
class GetStringHelper {

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

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

}

Members

Namesort descending Modifiers Type Description Overrides
GetStringHelper::$value public property Value.
GetStringHelper::getString public function Return $value as string.