src/Api/LinkGenerator.php
public function index($resourceType, $meta = null, array $queryParams = [])
    {
        return $this->factory->createLink(
            $this->urls->index($resourceType, $queryParams),
            $meta,
            true
        );
    }
public function index($resourceType, $meta = null, array $queryParams = [])
    {
        return $this->factory->createLink(
            $this->urls->index($resourceType, $queryParams),
            $meta,
            true
        );
    }
Get a link to the index of a resource type.

@param $resourceType
@param array|object|null $meta
@param array $queryParams
@return LinkInterface