| 1 | <?php |
||
| 16 | class Fixture |
||
| 17 | { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Current db adapter |
||
| 21 | * |
||
| 22 | * @var Adapter |
||
| 23 | */ |
||
| 24 | protected $adapter = null; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Constructor |
||
| 28 | * Create migration table |
||
| 29 | * Set current db adapter |
||
| 30 | * |
||
| 31 | * @param \Zend\Db\Adapter\Adapter $adapter |
||
| 32 | */ |
||
| 33 | public function __construct($adapter = null) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * |
||
| 40 | * @param string $tableName |
||
| 41 | * @param array $data |
||
| 42 | * @return bool |
||
| 43 | */ |
||
| 44 | public function insert($tableName, Array $data) |
||
| 55 | } |
||
| 56 |