<commit_before><?php
/**
 * User: <NAME> <<EMAIL>>
 */

namespace Praxigento\Core\Transaction\Business\Def;

/**
 * Default implementation for Transaction items factory used by Business Transaction Manager.
 */
class Fabrique
    implements \Praxigento\Core\Transaction\Business\IFabrique
{

    /** @var \Magento\Framework\ObjectManagerInterface */
    private $manObj;

    public function __construct(
        \Magento\Framework\ObjectManagerInterface $maObj
    ) {
        $this->manObj = $maObj;
    }

    /**
     * @param string $name
     * @return \Praxigento\Core\Transaction\Business\IItem
     */
    public function create($name)
    {
        $result = $this->manObj->create(\Praxigento\Core\Transaction\Business\Def\Item::class);
        $result->setName($name);
        return $result;
    }

}<commit_msg>MOBI-535 - Test Scene 030-020<commit_after><?php
/**
 * User: <NAME> <<EMAIL>>
 */

namespace Praxigento\Core\Transaction\Business\Def;

/**
 * Default implementation for Transaction items factory used by Business Transaction Manager.
 */
class Fabrique
    implements \Praxigento\Core\Transaction\Business\IFabrique
{

    /** @var \Magento\Framework\ObjectManagerInterface */
    private $manObj;

    public function __construct(
        \Magento\Framework\ObjectManagerInterface $maObj
    ) {
        $this->manObj = $maObj;
    }

    /**
     * @param string $name
     * @return \Praxigento\Core\Transaction\Business\IItem
     */
    public function create($name)
    {
        $logger = $this->manObj->get(\Praxigento\Core\Fw\Logger\App::class);
        $result = new \Praxigento\Core\Transaction\Business\Def\Item($logger);
        $result->setName($name);
        return $result;
    }

}
{'fraction_non_alphanumeric': 0.1345707656612529, 'fraction_numerical': 0.005220417633410673, 'mean_word_length': 2.893905191873589, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, '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': '6707680', 'n_tokens_mistral': 544, 'n_tokens_neox': 522, 'n_words': 96}