code: public static function statement(Database $database, $type, array $values)
      {
          $statement = $database->getMasterLink()->prepare('CREATE TYPE ' . $type . ' AS ENUM(\'' . implode('\', \'', $values) . '\')');
  
          return $statement;
      }
docs: Prepare and return according PDO statement.
  
  @param  Database     $database database
  @param  string       $type     type name
  @param  array        $values   enum values
  @return \PDOStatement $statement prepared query