AttributesHandler
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
from
AbstractAttributes
void
set(string $name, mixed $value)
Set an attribute value using dynamic method call.
from
AbstractAttributes
void
define()
Define all PDO attribute of the connection a ready exist
Details
__construct(IConnection $instance, IOptions $optionsHandler)
Constructor for AbstractAttributes.
IConnection
getInstance()
Get the connection instance.
IOptions
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 PDO attribute of the connection a ready exist