public function getIncludedRelationships(string $baseRelationshipPath): array
    {
        if ($this->includedRelationships === null) {
            $this->setIncludedRelationships();
        }

        if (isset($this->includedRelationships[$baseRelationshipPath])) {
            return array_values($this->includedRelationships[$baseRelationshipPath]);
        }

        return [];
    }
public function getIncludedRelationships(string $baseRelationshipPath): array
    {
        if ($this->includedRelationships === null) {
            $this->setIncludedRelationships();
        }

        if (isset($this->includedRelationships[$baseRelationshipPath])) {
            return array_values($this->includedRelationships[$baseRelationshipPath]);
        }

        return [];
    }
public function getIncludedRelationships ( string $ baseRelationshipPath ) : array { if ( $ this -> includedRelationships === null ) { $ this -> setIncludedRelationships ( ) ; } if ( isset ( $ this -> includedRelationships [ $ baseRelationshipPath ] ) ) { return array_values ( $ this -> includedRelationships [ $ baseRelationshipPath ] ) ; } return [ ] ; }
Returns a list of relationship paths for a given parent path which should be included in the response.
Returns a list of relationship paths for a given parent path which should be included in the response .