File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22/**
33 * @author : JIHAD SINNAOUR
44 * @package : FloatPHP
5- * @subpackage: Interfaces Component
5+ * @subpackage: Interfaces Kernel Component
66 * @version : 1.0.0
77 * @category : PHP framework
88 * @copyright : (c) 2017 - 2021 JIHAD SINNAOUR <mail@jihadsinnaour.com>
99 * @link : https://www.floatphp.com
1010 * @license : MIT License
11+ *
12+ * This file if a part of FloatPHP Framework
1113 */
1214
13- namespace FloatPHP \Interfaces ;
15+ namespace FloatPHP \Interfaces \ Kernel ;
1416
15- interface ControllerInterface {
16-
17- }
17+ interface ApiInterface {}
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.0
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+ * This file if a part of FloatPHP Framework
13+ */
14+
15+ namespace FloatPHP \Interfaces \Kernel ;
16+
17+ interface AuthMiddlewareInterface {}
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.0
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+ * This file if a part of FloatPHP Framework
13+ */
14+
15+ namespace FloatPHP \Interfaces \Kernel ;
16+
17+ interface AuthenticationInterface
18+ {
19+ function getUser ($ username );
20+ function getKey ();
21+ }
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.0
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+ * This file if a part of FloatPHP Framework
13+ */
14+
15+ namespace FloatPHP \Interfaces \Kernel ;
16+
17+ interface BackendInterface {}
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.0
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+ * This file if a part of FloatPHP Framework
13+ */
14+
15+ namespace FloatPHP \Interfaces \Kernel ;
16+
17+ interface FrontInterface {}
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.0
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+ * This file if a part of FloatPHP Framework
13+ */
14+
15+ namespace FloatPHP \Interfaces ;
16+
17+ interface ModelInterface
18+ {
19+ function all ();
20+ function create ();
21+ function save ($ id );
22+ function delete ($ id );
23+ function find ($ id );
24+ function search ($ fields = [], $ sort = []);
25+ function min ($ field );
26+ function max ($ field );
27+ function avg ($ field );
28+ function sum ($ field );
29+ function count ($ field );
30+ }
Original file line number Diff line number Diff line change 33 * @author : JIHAD SINNAOUR
44 * @package : FloatPHP
55 * @subpackage: Interfaces Kernel Component
6- * @version : 1.0.1
6+ * @version : 1.0.0
77 * @category : PHP framework
88 * @copyright : (c) 2017 - 2021 JIHAD SINNAOUR <mail@jihadsinnaour.com>
99 * @link : https://www.floatphp.com
1010 * @license : MIT License
11+ *
12+ * This file if a part of FloatPHP Framework
1113 */
1214
1315namespace FloatPHP \Interfaces \Kernel ;
Original file line number Diff line number Diff line change 33 * @author : JIHAD SINNAOUR
44 * @package : FloatPHP
55 * @subpackage: Interfaces Kernel Component
6- * @version : 1.0.1
6+ * @version : 1.0.0
77 * @category : PHP framework
88 * @copyright : (c) 2017 - 2021 JIHAD SINNAOUR <mail@jihadsinnaour.com>
99 * @link : https://www.floatphp.com
1010 * @license : MIT License
11+ *
12+ * This file if a part of FloatPHP Framework
1113 */
1214
1315namespace FloatPHP \Interfaces \Kernel ;
Original file line number Diff line number Diff line change 33 * @author : JIHAD SINNAOUR
44 * @package : FloatPHP
55 * @subpackage: Interfaces Kernel Component
6- * @version : 1.0.1
6+ * @version : 1.0.0
77 * @category : PHP framework
88 * @copyright : (c) 2017 - 2021 JIHAD SINNAOUR <mail@jihadsinnaour.com>
99 * @link : https://www.floatphp.com
1010 * @license : MIT License
11+ *
12+ * This file if a part of FloatPHP Framework
1113 */
1214
1315namespace FloatPHP \Interfaces \Kernel ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments