You are here

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

Returns the names (keys) of all constants in the Enum class

Return value

array

File

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

Class

Enum
Base Enum class

Namespace

Drupal\Driver\Database\sqlsrv

Code

public static function keys() {
  return array_keys(self::toArray());
}