<commit_before><commit_msg>Discovery class extended from abstract Client.php.<commit_after><?php

class Discovery extends Client
{
    private $discovery_url = null;

    /**
     * Discovery constructor.
     * @param $protacol='tcp', $ip='127.0.0.1', $port=8099
    **/
    public function __construct($protacol, $ip, $port)
    {
          parent::__construct($protacol, $ip, $port); // TODO: Change the autogenerated stub
    }

    /**
     * @return null
     */
    public function getDiscoveryUrl()
    {
        return $this->discovery_url;
    }

    /**
     * @param null $discovery_url
     */
    public function setDiscoveryUrl($discovery_url)
    {
        $this->discovery_url = $discovery_url;
    }


    public function setCommand(){
          $this->command = 'discovery';
    }
    public function setParams()
    {
          $this->params =  array( "aat_token"=>$this->getDiscoveryUrl() );
    }

}
{'fraction_non_alphanumeric': 0.13789359391965256, 'fraction_numerical': 0.010857763300760043, 'mean_word_length': 2.492424242424242, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '1143795', 'n_tokens_mistral': 299, 'n_tokens_neox': 281, 'n_words': 58}