You are here

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

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

Return value

array

File

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

Class

Enum
Enum class.

Namespace

Drupal\Driver\Database\sqlsrv\Component

Code

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