Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Commit 8147fa1

Browse files
committed
Parameters: Use Hoa\Zformat.
1 parent 1c99335 commit 8147fa1

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

Dal.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
use Hoa\Consistency;
4040
use Hoa\Core;
4141
use Hoa\Event;
42+
use Hoa\Zformat;
4243

4344
/**
4445
* Class \Hoa\Database\Dal.
@@ -48,7 +49,7 @@
4849
* @copyright Copyright © 2007-2015 Hoa community
4950
* @license New BSD License
5051
*/
51-
class Dal implements Core\Parameter\Parameterizable, Event\Source
52+
class Dal implements Zformat\Parameterizable, Event\Source
5253
{
5354
/**
5455
* Abstract layer: DBA.
@@ -109,7 +110,7 @@ class Dal implements Core\Parameter\Parameterizable, Event\Source
109110
/**
110111
* Parameter of \Hoa\Database\Dal.
111112
*
112-
* @var \Hoa\Core\Parameter
113+
* @var \Hoa\Zformat\Parameter
113114
*/
114115
protected static $_parameters = null;
115116

@@ -150,7 +151,7 @@ private function __construct(Array $connectionParameters)
150151
*/
151152
public static function initializeParameters(Array $parameters = [])
152153
{
153-
self::$_parameters = new Core\Parameter(
154+
self::$_parameters = new Zformat\Parameter(
154155
__CLASS__,
155156
[],
156157
[
@@ -270,7 +271,7 @@ public static function getLastInstance()
270271
/**
271272
* Get parameters.
272273
*
273-
* @return \Hoa\Core\Parameter
274+
* @return \Hoa\Zformat\Parameter
274275
*/
275276
public function getParameters()
276277
{

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"hoa/core" : "~2.0",
2727
"hoa/event" : "~0.0",
2828
"hoa/exception" : "~0.0",
29+
"hoa/zformat" : "~0.0",
2930
"ext-pdo" : "*"
3031
},
3132
"require-dev": {

0 commit comments

Comments
 (0)