IArgumentsAbstract
interface IArgumentsAbstract (View source)
This interface provides methods for retrieving the connection instance, options handler, and arguments strategy.
It also defines methods for setting the argument type, calling arguments by format, and calling with static arguments. Additionally, it includes methods for calling with a specific name and arguments, as well as calling statically with a name and arguments.
Methods
Gets the connection instance.
Gets the options handler.
Gets the arguments strategy.
Sets the argument type.
Transform variables in constants
Calls the arguments by format.
Calls with static arguments.
Calls with a specific name and arguments.
Calls statically with a name and arguments.
Details
static IConnection
getInstance()
Gets the connection instance.
static IOptions
getOptionsHandler()
Gets the options handler.
static IArgumentsStrategy
getArgumentsStrategy()
Gets the arguments strategy.
static string|int|bool
setType(mixed $value)
Sets the argument type.
static array
setConstant(array $value)
Transform variables in constants
static IConnection
callArgumentsByFormat(string $format, mixed $arguments)
Calls the arguments by format.
static IConnection
callWithByStaticArgs(array $arguments)
Calls with static arguments.
IConnection|string|int|bool|array|null
call(string $name, array $arguments)
Calls with a specific name and arguments.
static IConnection|string|int|bool|array|null
callStatic(string $name, array $arguments)
Calls statically with a name and arguments.