src/MetadataV3/edm/Groups/GInlineExpressionsTrait.php 1 location
|
@@ 84-93 (lines=10) @@
|
81 |
|
* @param string $string |
82 |
|
* @return self |
83 |
|
*/ |
84 |
|
public function setString($string) |
85 |
|
{ |
86 |
|
$msg = null; |
87 |
|
if (null != $string && !is_string($string)) { |
88 |
|
$msg = "String must be a string"; |
89 |
|
throw new \InvalidArgumentException($msg); |
90 |
|
} |
91 |
|
$this->string = $string; |
92 |
|
return $this; |
93 |
|
} |
94 |
|
|
95 |
|
/** |
96 |
|
* Gets as binary |
src/MetadataV3/edm/Groups/TCommonPropertyAttributesTrait.php 1 location
|
@@ 186-195 (lines=10) @@
|
183 |
|
* @param string $defaultValue |
184 |
|
* @return self |
185 |
|
*/ |
186 |
|
public function setDefaultValue($defaultValue) |
187 |
|
{ |
188 |
|
$msg = null; |
189 |
|
if (null != $defaultValue && !is_string($defaultValue)) { |
190 |
|
$msg = "Default value must be a string"; |
191 |
|
throw new \InvalidArgumentException($msg); |
192 |
|
} |
193 |
|
$this->defaultValue = $defaultValue; |
194 |
|
return $this; |
195 |
|
} |
196 |
|
|
197 |
|
/** |
198 |
|
* Gets as maxLength |
src/MetadataV3/edm/Groups/TFacetAttributesTrait.php 1 location
|
@@ 101-110 (lines=10) @@
|
98 |
|
* @param string $defaultValue |
99 |
|
* @return self |
100 |
|
*/ |
101 |
|
public function setDefaultValue($defaultValue) |
102 |
|
{ |
103 |
|
$msg = null; |
104 |
|
if (null != $defaultValue && !is_string($defaultValue)) { |
105 |
|
$msg = "Default value must be a string"; |
106 |
|
throw new \InvalidArgumentException($msg); |
107 |
|
} |
108 |
|
$this->defaultValue = $defaultValue; |
109 |
|
return $this; |
110 |
|
} |
111 |
|
|
112 |
|
/** |
113 |
|
* Gets as maxLength |