PHP Класс Elcodi\Plugin\CustomShippingBundle\Factory\ShippingRangeFactory

Наследование: extends Elcodi\Component\Core\Factory\Abstracts\AbstractFactory
Показать файл Открыть проект

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

Свойство Тип Описание
$defaultCurrencyWrapper Elcodi\Component\Core\Wrapper\Interfaces\WrapperInterface Currency wrapper used to access default Currency object

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

Метод Описание
__construct ( Elcodi\Component\Core\Wrapper\Interfaces\WrapperInterface $defaultCurrencyWrapper ) Factory constructor
create ( ) : Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface Creates an instance of an entity.

Защищенные методы

Метод Описание
createZeroAmountMoney ( ) : Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface Returns a zero-initialized Money object to be assigned to product prices

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

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

Factory constructor
public __construct ( Elcodi\Component\Core\Wrapper\Interfaces\WrapperInterface $defaultCurrencyWrapper )
$defaultCurrencyWrapper Elcodi\Component\Core\Wrapper\Interfaces\WrapperInterface Default Currency wrapper

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

This method must return always an empty instance
public create ( ) : Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface
Результат Elcodi\Plugin\CustomShippingBundle\Entity\Interfaces\ShippingRangeInterface Empty entity

createZeroAmountMoney() защищенный Метод

Returns a zero-initialized Money object to be assigned to product prices
protected createZeroAmountMoney ( ) : Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface
Результат Elcodi\Component\Currency\Entity\Interfaces\MoneyInterface

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

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

Currency wrapper used to access default Currency object
protected WrapperInterface,Elcodi\Component\Core\Wrapper\Interfaces $defaultCurrencyWrapper
Результат Elcodi\Component\Core\Wrapper\Interfaces\WrapperInterface