PHP Класс Sonata\Component\Currency\CurrencyDetector

Автор: Hugo Briand ([email protected])
Наследование: implements Sonata\Component\Currency\CurrencyDetectorInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$currency Sonata\Component\Currency\CurrencyInterface

Открытые методы

Метод Описание
__construct ( string $currencyLabel, Sonata\Component\Currency\CurrencyManagerInterface $currencyManager ) Constructs the currency detector service by finding the default currency.
getCurrency ( )

Описание методов

__construct() публичный Метод

Constructs the currency detector service by finding the default currency.
public __construct ( string $currencyLabel, Sonata\Component\Currency\CurrencyManagerInterface $currencyManager )
$currencyLabel string
$currencyManager Sonata\Component\Currency\CurrencyManagerInterface

getCurrency() публичный Метод

public getCurrency ( )

Описание свойств

$currency защищенное свойство

protected CurrencyInterface,Sonata\Component\Currency $currency
Результат Sonata\Component\Currency\CurrencyInterface