123 throw new \InvalidArgumentException(
'$name must be of type string, ' . gettype(
$name) .
' given.', 1187951688);
126 throw new \InvalidArgumentException(
'$name must be a non-empty string.', 1232551853);
131 $this->validationResults =
new Result();
154 throw new \InvalidArgumentException(
'$shortName must be a single character or NULL', 1195824959);
256 if ($rawValue ===
null) {
260 if (is_object($rawValue) && $rawValue instanceof $this->dataType) {
261 $this->value = $rawValue;
265 $this->value = $this->propertyMapper->convert($rawValue, $this->dataType, $this->propertyMappingConfiguration);
266 }
catch (TargetNotFoundException $e) {
272 $this->validationResults->merge($this->propertyMapper->getMessages());
283 if ($this->value ===
null) {
314 'Method ' . __METHOD__ .
' is deprecated and will be removed in TYPO3 v10.0.',
336 if ($this->hasBeenValidated) {
340 if ($this->validator !==
null) {
341 $validationMessages = $this->validator->validate($this->value);
342 $this->validationResults->
merge($validationMessages);
345 $this->hasBeenValidated =
true;