public function resourceLinkMeta(string $type, string $id): array
    {
        foreach ($this->resourceMap as $resourceLink) {
            if (isset($resourceLink["meta"]) && $resourceLink["type"] === $type && $resourceLink["id"] === $id) {
                return $resourceLink["meta"];
            }
        }

        return [];
    }
public function resourceLinkMeta(string $type, string $id): array
    {
        foreach ($this->resourceMap as $resourceLink) {
            if (isset($resourceLink["meta"]) && $resourceLink["type"] === $type && $resourceLink["id"] === $id) {
                return $resourceLink["meta"];
            }
        }

        return [];
    }
public function resourceLinkMeta ( string $ type , string $ id ) : array { foreach ( $ this -> resourceMap as $ resourceLink ) { if ( isset ( $ resourceLink [ "meta" ] ) && $ resourceLink [ "type" ] === $ type && $ resourceLink [ "id" ] === $ id ) { return $ resourceLink [ "meta" ] ; } } return [ ] ; }
Get meta information that may be defined next to the resource identifier link.
This occurs when a relationship contains additional data besides the relation's identifiers.
Get meta information that may be defined next to the resource identifier link . This occurs when a relationship contains additional data besides the relation s identifiers .