src/Resource.php
public function getRelationshipsAsArray()
    {
        $relationships = $this->getRelationships();

        $relationships = $this->convertRelationshipsToArray($relationships);

        return $this->mergeRelationships($relationships);
    }
public function getRelationshipsAsArray()
    {
        $relationships = $this->getRelationships();

        $relationships = $this->convertRelationshipsToArray($relationships);

        return $this->mergeRelationships($relationships);
    }
public function getRelationshipsAsArray ( ) { $ relationships = $ this -> getRelationships ( ) ; $ relationships = $ this -> convertRelationshipsToArray ( $ relationships ) ; return $ this -> mergeRelationships ( $ relationships ) ; }
Get the resource relationships as an array.

@return array
Get the resource relationships as an array .