AbstractDriver
in package
implements
Driver
AbstractDriver defines an API for implementing storage backends for Skeleton.
Tags
Interfaces, Classes and Traits
- Driver
- Skeleton_Driver defines an API for implementing storage backends for Skeleton.
Table of Contents
- $_foos : array<string|int, mixed>
- Array holding the current foo list. Each array entry is a hash describing a foo. The array is indexed by the IDs.
- $_params : array<string|int, mixed>
- Hash containing connection parameters.
- __construct() : mixed
- Constructor.
- listFoos() : array<string|int, mixed>
- Lists all foos.
Properties
$_foos
Array holding the current foo list. Each array entry is a hash describing a foo. The array is indexed by the IDs.
protected
array<string|int, mixed>
$_foos
= []
$_params
Hash containing connection parameters.
protected
array<string|int, mixed>
$_params
= []
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $params = [] ]) : mixed
Parameters
- $params : array<string|int, mixed> = []
-
A hash containing connection parameters.
Return values
mixed —listFoos()
Lists all foos.
public
listFoos() : array<string|int, mixed>
Return values
array<string|int, mixed> —Returns a list of all foos.