@@ 907-912 (lines=6) @@ | ||
904 | $resId = $this->getValue($data, $relationship->getDataPath() . '.id'); |
|
905 | } |
|
906 | ||
907 | if ((null !== $resId) && |
|
908 | (null !== $resType) && |
|
909 | (null !== ($res = $this->context->getResource($resType, $resId))) |
|
910 | ) { |
|
911 | return $this->setProperty($pathValue, $res, $relationship); |
|
912 | } |
|
913 | ||
914 | ||
915 | if (null !== ($linkedData = $this->context->getLinkedData($resType, $resId))) { |
|
@@ 951-956 (lines=6) @@ | ||
948 | $resId = $this->getValue($data, $path . '.id'); |
|
949 | } |
|
950 | ||
951 | if ((null !== $resType) && |
|
952 | (null !== $resId) && |
|
953 | (null !== ($parsed = $this->context->getResource($resType, $resId))) |
|
954 | ) { |
|
955 | return $parsed; |
|
956 | } |
|
957 | ||
958 | $params = $relationship->getDataTypeParams(); |
|
959 |