We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a1e7a9 commit 817bdadCopy full SHA for 817bdad
src/Mapping/MappingFactory.php
@@ -30,9 +30,15 @@ class MappingFactory
30
const RELATIONSHIPS_KEY = 'relationships';
31
const SELF_KEY = 'self';
32
33
+ /**
34
+ * @var array
35
+ */
36
+ protected static $classProperties = [];
37
+
38
/**
39
* @param string $className
40
*
41
+ * @throws MappingException
42
* @return Mapping
43
44
* @since 2.0.0
@@ -74,10 +80,6 @@ public static function fromClass($className)
74
80
return static::fromArray($mappedClass);
75
81
}
76
82
77
- /**
78
- * @var array
79
- */
- protected static $classProperties = [];
83
84
85
* @param array $mappedClass
0 commit comments