public function with(string $rel): array
    {
        if (isset($this->links[$rel])) {
            if (is_array($this->links[$rel])) {
                return $this->links[$rel];
            }

            return [$this->links[$rel]];
        }

        return [];
    }