Pārlūkot izejas kodu

renamed LuSpModel to LuSpDbo

tags/0.1.9^0
Robin Thoni 8 gadus atpakaļ
vecāks
revīzija
7b0175e77e
3 mainītis faili ar 17 papildinājumiem un 8 dzēšanām
  1. 9
    0
      src/Utils/LuDbo.php
  2. 8
    0
      src/Utils/LuSpDbo.php
  3. 0
    8
      src/Utils/LuSpModel.php

+ 9
- 0
src/Utils/LuDbo.php Parādīt failu

@@ -23,11 +23,20 @@ abstract class LuDbo implements \JsonSerializable {
23 23
         return $obj;
24 24
     }
25 25
 
26
+    /**
27
+     * Deserialize from a JSON object
28
+     * @param $json array The JSON data to deserialize
29
+     * @return LuDbo
30
+     */
26 31
     public static function jsonDeserialize($json)
27 32
     {
28 33
         return null;
29 34
     }
30 35
 
36
+    /**
37
+     * Generate a sample JSON object for the DBO
38
+     * @return array
39
+     */
31 40
     public static function generateSample()
32 41
     {
33 42
         return null;

+ 8
- 0
src/Utils/LuSpDbo.php Parādīt failu

@@ -0,0 +1,8 @@
1
+<?php
2
+
3
+namespace Luticate\Utils;
4
+
5
+abstract class LuSpDbo extends LuDbo
6
+{
7
+
8
+}

+ 0
- 8
src/Utils/LuSpModel.php Parādīt failu

@@ -1,8 +0,0 @@
1
-<?php
2
-
3
-namespace Luticate\Utils;
4
-
5
-abstract class LuSpModel
6
-{
7
-
8
-}

Notiek ielāde…
Atcelt
Saglabāt