<commit_before><?php

namespace celmarket\Admin;

use celmarket\Dispatcher;

class AdminReports {

    /**
     * [RO] Listeaza produsele facturabile (https://github.com/celdotro/marketplace/wiki/Listeaza-produsele-facturabile)
     * [EN] List all products that can be billed (https://github.com/celdotro/marketplace/wiki/List-billable-products)
     * @return mixed
     */
    public function getBillableProducts(){
        // Set method and action
        $method = 'admininfo';
        $action = 'GetBillableProducts';

        // Set data
        $data = array('param' => 1);

        $result = Dispatcher::send($method, $action, $data);

        return $result;
    }

}<commit_msg>Added products to bill<commit_after><?php

namespace celmarket\Admin;

use celmarket\Dispatcher;

class AdminReports {

    /**
     * [RO] Listeaza produsele facturabile (https://github.com/celdotro/marketplace/wiki/Listeaza-produsele-facturabile)
     * [EN] List all products that can be billed (https://github.com/celdotro/marketplace/wiki/List-billable-products)
     * @return mixed
     */
    public function getBillableProducts(){
        // Set method and action
        $method = 'admininfo';
        $action = 'GetBillableProducts';

        // Set data
        $data = array('param' => 1);

        $result = Dispatcher::send($method, $action, $data);

        return $result;
    }

    /**
     * [RO] Factureaza produsele disponibile (https://github.com/celdotro/marketplace/wiki/Factureaza-produse)
     * [EN] Bills available products (https://github.com/celdotro/marketplace/wiki/Bill-products)
     * @param $products
     * @return mixed
     */
    public function billProducts($products){
        // Set method and action
        $method = 'admininfo';
        $action = 'BillProducts';

        // Set data
        $data = array('products' => $products);

        $result = Dispatcher::send($method, $action, $data);

        return $result;
    }

}
{'fraction_non_alphanumeric': 0.13194090677534387, 'fraction_numerical': 0.0010188487009679063, 'mean_word_length': 2.6710280373831776, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 6, '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': '3278321', 'n_tokens_mistral': 609, 'n_tokens_neox': 585, 'n_words': 129}