Helper
class Helper
This is the global app Helper
Methods
static
array
getDefaultEnvParameters()
Get the default environment vars to load in views and calling controller's actions
static
bool
classImplements($class_name, $interface_name)
Test if a class implements an interface
static
string
getPropertyName(
string $name = '',
string $replace = '_',
bool $capitalize_first_char = true)
Get a safe class property name in camel case
static
string
getMethodName($property_name)
Get a safe class method name in camel case
static
mixed
fetchArguments(
null $method_name = null,
null $arguments = null,
null $class_name = null)
Call a callback fetching organized arguments depending on its declaration
static
debug()
Hard debug anything
static
exceptionHandler(
Exception $e,
bool $plain_text = false)
Get a safe exception info
Details
at line 39
static
array
getDefaultEnvParameters()
Get the default environment vars to load in views and calling controller's actions
at line 56
static
bool
classImplements($class_name, $interface_name)
Test if a class implements an interface
at line 71
static
string
getPropertyName(
string $name = '',
string $replace = '_',
bool $capitalize_first_char = true)
Get a safe class property name in camel case
at line 81
static
string
getMethodName($property_name)
Get a safe class method name in camel case
at line 93
static
mixed
fetchArguments(
null $method_name = null,
null $arguments = null,
null $class_name = null)
Call a callback fetching organized arguments depending on its declaration
at line 105
static
debug()
Hard debug anything
at line 120
static
exceptionHandler(
Exception $e,
bool $plain_text = false)
Get a safe exception info