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

static IConnection
getInstance()

Gets the connection instance.

static IOptions
getOptionsHandler()

Gets the options handler.

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.

Details

static IConnection getInstance()

Gets the connection instance.

Return Value

IConnection

The connection instance.

static IOptions getOptionsHandler()

Gets the options handler.

Return Value

IOptions

The option's handler.

static IArgumentsStrategy getArgumentsStrategy()

Gets the arguments strategy.

Return Value

IArgumentsStrategy

The argument's strategy.

static string|int|bool setType(mixed $value)

Sets the argument type.

Parameters

mixed $value

The value to set the argument type to.

Return Value

string|int|bool

The set argument type.

static array setConstant(array $value)

Transform variables in constants

Parameters

array $value

Return Value

array

static IConnection callArgumentsByFormat(string $format, mixed $arguments)

Calls the arguments by format.

Parameters

string $format

The format to call the arguments by.

mixed $arguments

The arguments to call.

Return Value

IConnection

The connection instance.

static IConnection callWithByStaticArgs(array $arguments)

Calls with static arguments.

Parameters

array $arguments

The arguments to call with.

Return Value

IConnection

The connection instance.

IConnection|string|int|bool|array|null call(string $name, array $arguments)

Calls with a specific name and arguments.

Parameters

string $name

The name to call with.

array $arguments

The arguments to call with.

Return Value

IConnection|string|int|bool|array|null

The result of the call.

static IConnection|string|int|bool|array|null callStatic(string $name, array $arguments)

Calls statically with a name and arguments.

Parameters

string $name

The name to call statically with.

array $arguments

The arguments to call statically with.

Return Value

IConnection|string|int|bool|array|null

The result of the static call.