| 1 | <?php |
||
| 15 | class Adapter extends Optionized |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Adapter type |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | public $type; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Adapter name |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | public $name; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Adapter options |
||
| 33 | * |
||
| 34 | * @var array |
||
| 35 | */ |
||
| 36 | public $options; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Constructor |
||
| 40 | * |
||
| 41 | * @param string $type |
||
| 42 | * @param string $name |
||
| 43 | * @param array $options |
||
| 44 | */ |
||
| 45 | public function __construct($type, $name, array $options = []) |
||
| 51 | } |
||
| 52 |