PHP Class WellCommerce\Bundle\DoctrineBundle\Factory\AbstractEntityFactory

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\CoreBundle\DependencyInjection\AbstractContainerAware, implements WellCommerce\Bundle\DoctrineBundle\Factory\EntityFactoryInterface
Datei anzeigen Open project: wellcommerce/wellcommerce

Public Methods

Method Description
__construct ( string $className ) AbstractEntityFactory constructor.

Protected Methods

Method Description
createDiscountablePrice ( ) : WellCommerce\Bundle\AppBundle\Entity\DiscountablePriceInterface
createEmptyCollection ( ) : Doctrine\Common\Collections\Collection
createPrice ( ) : WellCommerce\Bundle\AppBundle\Entity\PriceInterface
getDefaultCurrency ( ) : WellCommerce\Bundle\CurrencyBundle\Entity\CurrencyInterface
getDefaultShop ( ) : WellCommerce\Bundle\ShopBundle\Entity\ShopInterface
getDefaultShops ( ) : Doctrine\Common\Collections\Collection
getDefaultTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface
init ( )

Method Details

__construct() public method

AbstractEntityFactory constructor.
public __construct ( string $className )
$className string

createDiscountablePrice() protected method

protected createDiscountablePrice ( ) : WellCommerce\Bundle\AppBundle\Entity\DiscountablePriceInterface
return WellCommerce\Bundle\AppBundle\Entity\DiscountablePriceInterface

createEmptyCollection() protected method

protected createEmptyCollection ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

createPrice() protected method

protected createPrice ( ) : WellCommerce\Bundle\AppBundle\Entity\PriceInterface
return WellCommerce\Bundle\AppBundle\Entity\PriceInterface

getDefaultCurrency() protected method

protected getDefaultCurrency ( ) : WellCommerce\Bundle\CurrencyBundle\Entity\CurrencyInterface
return WellCommerce\Bundle\CurrencyBundle\Entity\CurrencyInterface

getDefaultShop() protected method

protected getDefaultShop ( ) : WellCommerce\Bundle\ShopBundle\Entity\ShopInterface
return WellCommerce\Bundle\ShopBundle\Entity\ShopInterface

getDefaultShops() protected method

protected getDefaultShops ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getDefaultTax() protected method

protected getDefaultTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface
return WellCommerce\Bundle\TaxBundle\Entity\TaxInterface

init() protected method

protected init ( )