ArgumentsStrategy
class ArgumentsStrategy implements IArgumentsStrategy (View source)
Class ArgumentsStrategy Implements the IArgumentsStrategy interface to provide methods for obtaining instances and options handlers.
Methods
Retrieves an instance of IConnection.
Retrieves the options handler.
Sets the constant options for the Firebird connection.
Details
IConnection
getInstance()
Retrieves an instance of IConnection.
This method returns an instance of IConnection by calling the getInstance method of the ArgumentsHandler class.
IOptions
getOptionsHandler()
Retrieves the options handler.
This method returns an instance of IOptions by calling the static method getOptionsHandler() from the ArgumentsHandler class.
array
setConstant(array $value)
Sets the constant options for the Firebird connection.
This method uses the Generators::setConstant function to set the constant options for the Firebird connection. It then updates the options handler with the new options and returns the updated options.