class AttributesHandler extends AbstractAttributes implements IAttributes (View source)

Properties

static protected IConnection $instance from  AbstractAttributes
static protected IOptions $optionsHandler from  AbstractAttributes
static array $attributeList

static attributes constants

Methods

__construct(IConnection $instance, IOptions $optionsHandler)

Constructor for AbstractAttributes.

getInstance()

Get the connection instance.

getOptionsHandler()

Get the options handler instance.

void
set(string $name, mixed $value)

Set an attribute value using dynamic method call.

mixed
get(string $name)

Get an attribute value using dynamic method call.

void
define()

Define all OCI attribute of the connection a ready exist

Details

__construct(IConnection $instance, IOptions $optionsHandler)

Constructor for AbstractAttributes.

Parameters

IConnection $instance

The connection instance to use

IOptions $optionsHandler

The options handler instance to use

IConnection getInstance()

Get the connection instance.

Return Value

IConnection

The current connection instance

IOptions getOptionsHandler()

Get the options handler instance.

Return Value

IOptions

The current options handler instance

void set(string $name, mixed $value)

Set an attribute value using dynamic method call.

Parameters

string $name

The name of the attribute to set

mixed $value

The value to set

Return Value

void

mixed get(string $name)

Get an attribute value using dynamic method call.

Parameters

string $name

The name of the attribute to get

Return Value

mixed

The value of the requested attribute

void define()

Define all OCI attribute of the connection a ready exist

Return Value

void

Exceptions

Exceptions