GenericDatabase\Helpers
Namespaces
Classes
The GenericDatabase\Helpers\Compare class provides methods for determining the type of given
database connection this class can identify the type of database connection whether it is a
resource connection or an object connection, and it can also determine the type of database
connection whether it is a resource connection or an object connection.
The GenericDatabase\Helpers\Errors class provides static methods for manipulating error display settings
and throwing exceptions with error messages and locations.
The GenericDatabase\Helpers\Generators class provides methods
for generating options and determining the type of values.
The GenericDatabase\Helpers\Hash class provides a method to generate a hash using a specified algorithm.
The GenericDatabase\Helpers\Path class provides two static methods for working with file paths:
toAbsolute and isAbsolute. The toAbsolute method converts a relative path to an absolute path,
while the isAbsolute method checks if a given path is absolute or not.
The GenericDatabase\Helpers\Reflections class provides various reflection-based
methods to interact with classes and objects in PHP.
The GenericDatabase\Helpers\Validations class provides several static methods for performing common validation
tasks. These methods include checking if a value is numeric, checking "Booleanic" conditions, generating random
strings, and detecting if a query is a SELECT statement.
Exceptions
This GenericDatabase\Helpers\Exceptions class is a custom exception that extends the built-in
Exception class in PHP. It allows for the creation of custom exceptions with a default message, code,
and previous exception.