File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 },
2424 "autoload" : {
2525 "psr-4" : {
26- "floatPHP \\ Interfaces\\ " : " src/"
26+ "FloatPHP \\ Interfaces\\ " : " src/"
2727 }
2828 }
2929}
Original file line number Diff line number Diff line change 55 * @subpackage: Interfaces Component
66 * @version : 1.0.0
77 * @category : PHP framework
8- * @copyright : (c) JIHAD SINNAOUR <mail@jihadsinnaour.com>
8+ * @copyright : (c) 2017 - 2021 JIHAD SINNAOUR <mail@jihadsinnaour.com>
99 * @link : https://www.floatphp.com
1010 * @license : MIT License
1111 */
1212
13- namespace floatphp \Interfaces ;
13+ namespace FloatPHP \Interfaces ;
1414
1515interface ControllerInterface {
1616
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * @author : JIHAD SINNAOUR
4+ * @package : FloatPHP
5+ * @subpackage: Interfaces Kernel Component
6+ * @version : 1.0.1
7+ * @category : PHP framework
8+ * @copyright : (c) 2017 - 2021 JIHAD SINNAOUR <mail@jihadsinnaour.com>
9+ * @link : https://www.floatphp.com
10+ * @license : MIT License
11+ */
12+
13+ namespace FloatPHP \Interfaces \Kernel ;
14+
15+ interface OrmInterface
16+ {
17+ public function __set ($ name , $ value );
18+ public function __get ($ name );
19+ public function select (OrmQueryInterface $ data );
20+ public function query ($ sql , $ isSingle );
21+ public function save ($ id = '0 ' );
22+ public function create ();
23+ public function delete ($ id = '0 ' );
24+ public function find ($ id = '' );
25+ public function search ($ fields = [], $ sort = []);
26+ public function all ();
27+ public function min ($ field );
28+ public function max ($ field );
29+ public function avg ($ field );
30+ public function sum ($ field );
31+ public function count ($ field , $ data = null );
32+ public function deleteAll ($ table );
33+ }
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * @author : JIHAD SINNAOUR
4+ * @package : FloatPHP
5+ * @subpackage: Interfaces Kernel Component
6+ * @version : 1.0.1
7+ * @category : PHP framework
8+ * @copyright : (c) 2017 - 2021 JIHAD SINNAOUR <mail@jihadsinnaour.com>
9+ * @link : https://www.floatphp.com
10+ * @license : MIT License
11+ */
12+
13+ namespace FloatPHP \Interfaces \Kernel ;
14+
15+ interface OrmQueryInterface
16+ {
17+ public function __construct ($ query = []);
18+ }
Original file line number Diff line number Diff line change 22/**
33 * @author : JIHAD SINNAOUR
44 * @package : FloatPHP
5- * @subpackage: Interfaces Component
6- * @version : 1.0.0
5+ * @subpackage: Interfaces Kernel Component
6+ * @version : 1.0.1
77 * @category : PHP framework
8- * @copyright : (c) JIHAD SINNAOUR <mail@jihadsinnaour.com>
8+ * @copyright : (c) 2017 - 2021 JIHAD SINNAOUR <mail@jihadsinnaour.com>
99 * @link : https://www.floatphp.com
1010 * @license : MIT License
1111 */
1212
13- namespace floatphp \Interfaces \Kernel ;
13+ namespace FloatPHP \Interfaces \Kernel ;
1414
1515interface ViewInterface
1616{
Original file line number Diff line number Diff line change 55 * @subpackage: Interfaces Component
66 * @version : 1.0.0
77 * @category : PHP framework
8- * @copyright : (c) JIHAD SINNAOUR <mail@jihadsinnaour.com>
8+ * @copyright : (c) 2017 - 2021 JIHAD SINNAOUR <mail@jihadsinnaour.com>
99 * @link : https://www.floatphp.com
1010 * @license : MIT License
1111 */
1212
13- namespace floatphp \Interfaces ;
13+ namespace FloatPHP \Interfaces ;
1414
1515interface ModelInterface
1616{
You can’t perform that action at this time.
0 commit comments