<commit_before><?php
/**
 * User: <NAME> <<EMAIL>>
 */
namespace Praxigento\App\Generic2\Cli\Cmd\Init;

/**
 * Create sale orders to calculate bonus and collect internal money on customer accounts.
 */
class SaleOrders
    extends \Praxigento\Core\Cli\Cmd\Base
{
    /** @var  \Praxigento\Core\Transaction\Database\IManager */
    protected $_manTrans;
    /** @var array SKU and count for order items (all orders have the same items). */
    protected $DATA_ORDER_ITEMS = ['10674San' => 1, '215San' => 2];
    /** @var  \Praxigento\App\Generic2\Cli\Cmd\Init\Sub\SaleOrder */
    protected $_subSaleOrder;

    public function __construct(
        \Magento\Framework\ObjectManagerInterface $manObj,
        \Praxigento\Core\Transaction\Database\IManager $manTrans,
        \Praxigento\App\Generic2\Cli\Cmd\Init\Sub\SaleOrder $subSaleOrder
    ) {
        parent::__construct(
            $manObj,
            'prxgt:app:init-orders',
            'Create orders to calculate bonus after that.'<commit_msg>MOBI-781 - Switch to Mage 2.2 RC<commit_after><?php
/**
 * User: <NAME> <<EMAIL>>
 */
namespace Praxigento\App\Generic2\Cli\Cmd\Init;

/**
 * Create sale orders to calculate bonus and collect internal money on customer accounts.
 */
class SaleOrders
    extends \Praxigento\Core\Cli\Cmd\Base
{
    /** @var  \Praxigento\Core\Transaction\Database\IManager */
    protected $_manTrans;
    /** @var array SKU and count for order items (all orders have the same items). */
    protected $DATA_ORDER_ITEMS = ['10674San' => 1, '215San' => 2];
    /** @var  \Praxigento\App\Generic2\Cli\Cmd\Init\Sub\SaleOrder */
    protected $_subSaleOrder;

    public function __construct(
        \Magento\Framework\ObjectManagerInterface $manObj,
        \Praxigento\Core\Transaction\Database\IManager $manTrans,
        \Praxigento\App\Generic2\Cli\Cmd\Init\Sub\SaleOrder\Proxy $subSaleOrder
    ) {
        parent::__construct(
            $manObj,
            'prxgt:app:init-orders',
            'Create orders to calculate bonus after that.'
{'fraction_non_alphanumeric': 0.12690605017215936, 'fraction_numerical': 0.015248401377274963, 'mean_word_length': 2.949514563106796, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '5877120', 'n_tokens_mistral': 676, 'n_tokens_neox': 647, 'n_words': 144}