1 | <?php |
||
9 | trait ClassStructureTrait |
||
10 | { |
||
11 | use ObjectItemTrait; |
||
12 | |||
13 | /** |
||
14 | * @return ClassSchema |
||
15 | */ |
||
16 | public static function schema() |
||
32 | |||
33 | /** |
||
34 | * @return Properties|static |
||
35 | */ |
||
36 | public static function properties() |
||
40 | |||
41 | /** |
||
42 | * @param mixed $data |
||
43 | * @param Context $options |
||
44 | * @return static |
||
45 | */ |
||
46 | public static function import($data, Context $options = null) |
||
50 | |||
51 | /** |
||
52 | * @param mixed $data |
||
53 | * @param Context $options |
||
54 | * @return mixed |
||
55 | * @throws \Swaggest\JsonSchema\InvalidValue |
||
56 | */ |
||
57 | public static function export($data, Context $options = null) |
||
61 | |||
62 | /** |
||
63 | * @param ObjectItemContract $objectItem |
||
64 | * @return static |
||
65 | */ |
||
66 | public static function pick(ObjectItemContract $objectItem) |
||
71 | |||
72 | /** |
||
73 | * @return static |
||
74 | */ |
||
75 | public static function create() |
||
79 | |||
80 | protected $__validateOnSet = true; // todo skip validation during import |
||
81 | |||
82 | public function jsonSerialize() |
||
104 | |||
105 | /** |
||
106 | * @return static |
||
107 | */ |
||
108 | public static function names() |
||
116 | |||
117 | public function __set($name, $column) // todo nested schemas |
||
127 | |||
128 | public static function className() |
||
132 | |||
133 | public function validate() |
||
137 | } |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.