src/MetadataV3/mapping/cs/Groups/TPropertyGroup.php 1 location
|
@@ 42-50 (lines=9) @@
|
39 |
|
* @param \AlgoWeb\ODataMetadata\MetadataV3\mapping\cs\TComplexPropertyType $complexProperty |
40 |
|
* @return self |
41 |
|
*/ |
42 |
|
public function setComplexProperty(TComplexPropertyType $complexProperty) |
43 |
|
{ |
44 |
|
$msg = null; |
45 |
|
if (!$complexProperty->isOK($msg)) { |
46 |
|
throw new \InvalidArgumentException($msg); |
47 |
|
} |
48 |
|
$this->complexProperty = $complexProperty; |
49 |
|
return $this; |
50 |
|
} |
51 |
|
|
52 |
|
/** |
53 |
|
* Gets as scalarProperty |
src/MetadataV3/mapping/cs/TComplexPropertyType.php 1 location
|
@@ 209-217 (lines=9) @@
|
206 |
|
* @return self |
207 |
|
* @param \AlgoWeb\ODataMetadata\MetadataV3\mapping\cs\TComplexPropertyType $complexProperty |
208 |
|
*/ |
209 |
|
public function addToComplexProperty(TComplexPropertyType $complexProperty) |
210 |
|
{ |
211 |
|
$msg = null; |
212 |
|
if (!$complexProperty->isOK($msg)) { |
213 |
|
throw new \InvalidArgumentException($msg); |
214 |
|
} |
215 |
|
$this->complexProperty[] = $complexProperty; |
216 |
|
return $this; |
217 |
|
} |
218 |
|
|
219 |
|
/** |
220 |
|
* isset complexProperty |
src/MetadataV3/mapping/cs/TComplexTypeMappingType.php 1 location
|
@@ 170-178 (lines=9) @@
|
167 |
|
* @return self |
168 |
|
* @param \AlgoWeb\ODataMetadata\MetadataV3\mapping\cs\TComplexPropertyType $complexProperty |
169 |
|
*/ |
170 |
|
public function addToComplexProperty(TComplexPropertyType $complexProperty) |
171 |
|
{ |
172 |
|
$msg = null; |
173 |
|
if (!$complexProperty->isOK($msg)) { |
174 |
|
throw new \InvalidArgumentException($msg); |
175 |
|
} |
176 |
|
$this->complexProperty[] = $complexProperty; |
177 |
|
return $this; |
178 |
|
} |
179 |
|
|
180 |
|
/** |
181 |
|
* isset complexProperty |