<commit_before><?php

namespace ZFBrasil\DoctrineMoneyModule\View\Helper;

use Zend\View\Helper\AbstractHelper;
use Money\Money;

/**
 * @author <NAME> <<EMAIL>>
 * @license MIT
 */
class MoneyFormat extends AbstractHelper
{
    /**
     * @param Money $money
     * @return string
     */
    public function __invoke(Money $money)
    {
        $currencyFormat = $this->getView()->getPlugin('currencyFormat');
        
        return $currencyFormat($money->getAmount() / 100, $money->getCurrency());
    }
}<commit_msg>Fixing get view helper plugin method<commit_after><?php

namespace ZFBrasil\DoctrineMoneyModule\View\Helper;

use Zend\View\Helper\AbstractHelper;
use Money\Money;

/**
 * @author <NAME> <<EMAIL>>
 * @license MIT
 */
class MoneyFormat extends AbstractHelper
{
    /**
     * @param Money $money
     * @return string
     */
    public function __invoke(Money $money)
    {
        $currencyFormat = $this->getView()->plugin('currencyFormat');
        
        return $currencyFormat($money->getAmount() / 100, $money->getCurrency());
    }
}
{'fraction_non_alphanumeric': 0.14473684210526316, 'fraction_numerical': 0.005639097744360902, 'mean_word_length': 3.26, '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': '1984527', 'n_tokens_mistral': 336, 'n_tokens_neox': 316, 'n_words': 67}