| 1 | <?php |
||
| 12 | class TableCollection extends Collection { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var Table[] Database tabel |
||
| 16 | */ |
||
| 17 | protected $collection = []; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Add table to collection |
||
| 21 | * |
||
| 22 | * @param Table $table |
||
| 23 | * |
||
| 24 | * @throws \InvalidArgumentException if incorrect object type is added |
||
| 25 | */ |
||
| 26 | 2 | public function add($table) { |
|
| 35 | } |
||
| 36 |