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

Commit 97452ca

Browse files
committed
[DEMO]
- How to use the class core\Data.
1 parent 94dfddb commit 97452ca

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/Data/ExampleData.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace Data;
4+
5+
use core\Data;
6+
7+
class Example extends Data {
8+
9+
public function findAll() {
10+
return $this->fecth_all("SELECT * FROM table", []);
11+
}
12+
13+
}

0 commit comments

Comments
 (0)