Browse Source

renamed LuSpModel to LuSpDbo

tags/0.1.9^0
Robin Thoni 8 years ago
parent
commit
7b0175e77e
3 changed files with 17 additions and 8 deletions
  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 View File

23
         return $obj;
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
     public static function jsonDeserialize($json)
31
     public static function jsonDeserialize($json)
27
     {
32
     {
28
         return null;
33
         return null;
29
     }
34
     }
30
 
35
 
36
+    /**
37
+     * Generate a sample JSON object for the DBO
38
+     * @return array
39
+     */
31
     public static function generateSample()
40
     public static function generateSample()
32
     {
41
     {
33
         return null;
42
         return null;

+ 8
- 0
src/Utils/LuSpDbo.php View File

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

+ 0
- 8
src/Utils/LuSpModel.php View File

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

Loading…
Cancel
Save