<commit_before><?php

namespace RIPS\Connector\Requests;

class SystemRequests extends BaseRequest
{
    /**
     * @var System\LdapRequests
     */
    protected $ldapRequests;

    /**
     * LDAP requests accessor
     *
     * @return System\LdapRequests
     */
    public function ldap()
    {
        if (is_null($this->ldapRequests)) {
            $this->ldapRequests = new System\LdapRequests($this->client);
        }

        return $this->ldapRequests;
    }
}
<commit_msg>Added accessor for health requests.<commit_after><?php

namespace RIPS\Connector\Requests;

class SystemRequests extends BaseRequest
{
    /**
     * @var System\LdapRequests
     */
    protected $ldapRequests;

    /**
     * @var System\HealthRequests
     */
    protected $healthRequests;

    /**
     * LDAP requests accessor
     *
     * @return System\LdapRequests
     */
    public function ldap()
    {
        if (is_null($this->ldapRequests)) {
            $this->ldapRequests = new System\LdapRequests($this->client);
        }

        return $this->ldapRequests;
    }

    /**
     * Health requests accessor
     *
     * @return System\HealthRequests
     */
    public function health()
    {
        if (is_null($this->healthRequests)) {
            $this->healthRequests = new System\HealthRequests(($this->client));
        }

        return $this->healthRequests;
    }
}

{'fraction_non_alphanumeric': 0.12075198843094721, 'fraction_numerical': 0.0, 'mean_word_length': 2.1598173515981736, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '2863475', 'n_tokens_mistral': 405, 'n_tokens_neox': 432, 'n_words': 75}