<?php

namespace RebelCode\Iris\Http;

/**
 * Represents a remote resource from which items can be requested.
 *
 * @since [*next-version*]
 */
class ItemResource
{
    /**
     * @since [*next-version*]
     *
     * @var string
     */
    public $uri;
    /**
     * @since [*next-version*]
     *
     * @var array
     */
    public $args;

    /**
     * Constructor.
     *
     * @since [*next-version*]
     *
     * @param string $uri  The URI of the resource.
     * @param array  $args Any additional request arguments that are required to obtain the resource from the URI.
     */
    public function __construct(string $uri, array $args = [])
    {
        $this->uri = $uri;
        $this->args = $args;
    }
}
