|  | @@ 910-921 (lines=12) @@ | 
                                                            
                                    | 907 |  |         } | 
                                                            
                                    | 908 |  |  | 
                                                            
                                    | 909 |  |  | 
                                                            
                                    | 910 |  |         if (null !== ($linkedData = $this->context->getLinkedData($resType, $resId))) { | 
                                                            
                                    | 911 |  |             $idx = $this->context->getLinkedDataIndex($resType, $resId); | 
                                                            
                                    | 912 |  |             $prevPath = $this->path; | 
                                                            
                                    | 913 |  |  | 
                                                            
                                    | 914 |  |             $this->initPathStack(); | 
                                                            
                                    | 915 |  |             $this->setPath('included')->setPath($idx); | 
                                                            
                                    | 916 |  |  | 
                                                            
                                    | 917 |  |             $this->parseProperty([$idx => $linkedData], $pathValue, $relationship, '[' . $idx . ']'); | 
                                                            
                                    | 918 |  |             $this->path = $prevPath; | 
                                                            
                                    | 919 |  |  | 
                                                            
                                    | 920 |  |             return; | 
                                                            
                                    | 921 |  |         } | 
                                                            
                                    | 922 |  |  | 
                                                            
                                    | 923 |  |         $this->parseProperty($data, $pathValue, $relationship); | 
                                                            
                                    | 924 |  |     } | 
                                                                                
                                |  | @@ 956-973 (lines=18) @@ | 
                                                            
                                    | 953 |  |  | 
                                                            
                                    | 954 |  |             $params = $relationship->getDataTypeParams(); | 
                                                            
                                    | 955 |  |  | 
                                                            
                                    | 956 |  |             if (null !== ($linkedData = $this->context->getLinkedData($resType, $resId))) { | 
                                                            
                                    | 957 |  |                 $idx = $this->context->getLinkedDataIndex($resType, $resId); | 
                                                            
                                    | 958 |  |  | 
                                                            
                                    | 959 |  |                 $prevPath = $this->path; | 
                                                            
                                    | 960 |  |                 $this->initPathStack(); | 
                                                            
                                    | 961 |  |                 $this->setPath('included')->setPath($idx); | 
                                                            
                                    | 962 |  |  | 
                                                            
                                    | 963 |  |                 $parsed = $this->parseResourceOrObject( | 
                                                            
                                    | 964 |  |                     [$idx => $linkedData], | 
                                                            
                                    | 965 |  |                     '[' . $idx .']', | 
                                                            
                                    | 966 |  |                     $params[1], | 
                                                            
                                    | 967 |  |                     $relationship | 
                                                            
                                    | 968 |  |                 ); | 
                                                            
                                    | 969 |  |  | 
                                                            
                                    | 970 |  |                 $this->path = $prevPath; | 
                                                            
                                    | 971 |  |  | 
                                                            
                                    | 972 |  |                 return $parsed; | 
                                                            
                                    | 973 |  |             } | 
                                                            
                                    | 974 |  |  | 
                                                            
                                    | 975 |  |             return $this->parseResourceOrObject($data, $path, $params[1], $relationship); | 
                                                            
                                    | 976 |  |         }); |