src/MetadataV3/edm/Groups/TFacetAttributesTrait.php 1 location
|
@@ 250-259 (lines=10) @@
|
247 |
|
* @param boolean $unicode |
248 |
|
* @return self |
249 |
|
*/ |
250 |
|
public function setUnicode($unicode) |
251 |
|
{ |
252 |
|
$msg = null; |
253 |
|
if (null != $unicode && !$this->isTIsUnicodeFacetTraitValid($unicode)) { |
254 |
|
$msg = "Unicode must be a valid TUnicodeFacet"; |
255 |
|
throw new \InvalidArgumentException($msg); |
256 |
|
} |
257 |
|
$this->unicode = $unicode; |
258 |
|
return $this; |
259 |
|
} |
260 |
|
|
261 |
|
/** |
262 |
|
* Gets as collation |
src/MetadataV3/edm/Groups/TCommonPropertyAttributesTrait.php 1 location
|
@@ 337-346 (lines=10) @@
|
334 |
|
* @param boolean $unicode |
335 |
|
* @return self |
336 |
|
*/ |
337 |
|
public function setUnicode($unicode) |
338 |
|
{ |
339 |
|
$msg = null; |
340 |
|
if (null != $unicode && !$this->isTIsUnicodeFacetTraitValid($unicode)) { |
341 |
|
$msg = "Unicode must be a valid TUnicodeFacet"; |
342 |
|
throw new \InvalidArgumentException($msg); |
343 |
|
} |
344 |
|
$this->unicode = boolval($unicode); |
345 |
|
return $this; |
346 |
|
} |
347 |
|
|
348 |
|
/** |
349 |
|
* Gets as collation |