ArgumentsHandler
class ArgumentsHandler extends AbstractArguments implements IArguments (View source)
Properties
| static protected IConnection | $instance | from AbstractArguments | |
| static protected IOptions | $optionsHandler | from AbstractArguments | |
| static protected IArgumentsStrategy | $argumentsStrategy | from AbstractArguments |
Methods
Constructor for AbstractArguments.
Get the arguments strategy instance.
Determines the type that will receive treatment
Determines arguments type by calling to format type
This method is used when all parameters are used in the static arguments format
Triggered when invoking inaccessible methods in an object context
This method works like a factory and is responsible for identifying the way in which the class is instantiated, as well as its arguments.
Triggered when invoking inaccessible methods in an object context
This method works like a factory and is responsible for identifying the way in which the class is instantiated, as well as its arguments.
Details
__construct(IConnection $instance, IOptions $optionsHandler, IArgumentsStrategy $argumentsStrategy)
Constructor for AbstractArguments.
static IConnection
getInstance()
Get the connection instance.
static IOptions
getOptionsHandler()
Get the options handler instance.
static IArgumentsStrategy
getArgumentsStrategy()
Get the arguments strategy instance.
static string|int|bool
setType(mixed $value)
Determines the type that will receive treatment
static array
setConstant(array $value)
Transform variables in constants
static IConnection
callArgumentsByFormat(string $format, mixed $arguments)
Determines arguments type by calling to format type
static IConnection
callWithByStaticArgs(array $arguments)
This method is used when all parameters are used in the static arguments format
IConnection|string|int|bool|array|null
call(string $name, array $arguments)
Triggered when invoking inaccessible methods in an object context
static IConnection|string|int|bool|array|null
callStatic(string $name, array $arguments)
This method works like a factory and is responsible for identifying the way in which the class is instantiated, as well as its arguments.
IConnection|string|int|bool|array|null
__call(string $name, array $arguments)
Triggered when invoking inaccessible methods in an object context
static IConnection|string|int|bool|array|null
__callStatic(string $name, array $arguments)
This method works like a factory and is responsible for identifying the way in which the class is instantiated, as well as its arguments.