<commit_before><?php namespace EchoIt\JsonApi;

/**
 * A class used to represented a client request to the API.
 *
 * @author <NAME> <<EMAIL>>
 */
class Request
{
    /**
     * Contains the HTTP method of the request
     *
     * @var string
     */
    public $method;

    /**
     * Contains an optional model ID from the request
     *
     * @var int
     */
    public $id;

    /**
     * Contains an array of linked resource collections to load
     *
     * @var array
     */
    public $include;
	
	/**
     * Contains an array of column names to sort on
     *
     * @var array
     */
    public $sort;
	
	/**
     * Contains an array of key/value pairs to filter on
     *
     * @var array
     */
    public $filter;

    /**
     * Constructor.
     *
     * @param string $method
     * @param int    $id
     * @param array  $include
     */
    public function __construct($method, $id = null, $include = [], $sort = [], $filter = [])
    {
        $this->method = $method;
        $this->id = $id;
        $this->include = $include ?: [];
		$this->sort = $sort ?: [];
		$this->filter = $filter ?: [];
    }<commit_msg>Updated docs<commit_after><?php namespace EchoIt\JsonApi;

/**
 * A class used to represented a client request to the API.
 *
 * @author <NAME> <<EMAIL>>
 */
class Request
{
    /**
     * Contains the HTTP method of the request
     *
     * @var string
     */
    public $method;

    /**
     * Contains an optional model ID from the request
     *
     * @var int
     */
    public $id;

    /**
     * Contains an array of linked resource collections to load
     *
     * @var array
     */
    public $include;
	
	/**
     * Contains an array of column names to sort on
     *
     * @var array
     */
    public $sort;
	
	/**
     * Contains an array of key/value pairs to filter on
     *
     * @var array
     */
    public $filter;

    /**
     * Constructor.
     *
     * @param string $method
     * @param int    $id
     * @param array  $include
     * @param array  $sort
     * @param array  $filter
     */
    public function __construct($method, $id = null, $include = [], $sort = [], $filter = [])
    {
        $this->method = $method;
        $this->id = $id;
        $this->include = $include ?: [];
		$this->sort = $sort ?: [];
		$this->filter = $filter ?: [];
    }
{'fraction_non_alphanumeric': 0.1410859341598974, 'fraction_numerical': 0.0, 'mean_word_length': 1.759433962264151, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5807064', 'n_tokens_mistral': 745, 'n_tokens_neox': 724, 'n_words': 225}