You are here

public function Enum::__toString in Drupal driver for SQL Server and SQL Azure 8

Return value

string

File

drivers/lib/Drupal/Driver/Database/sqlsrv/Enum.php, line 57

Class

Enum
Base Enum class

Namespace

Drupal\Driver\Database\sqlsrv

Code

public function __toString() {
  return (string) $this->value;
}