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
Afficher le fichier Open project: wellcommerce/wellcommerce

Méthodes publiques

Méthode Description
__construct ( string $className ) AbstractEntityFactory constructor.

Méthodes protégées

Méthode 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 méthode

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

createDiscountablePrice() protected méthode

protected createDiscountablePrice ( ) : WellCommerce\Bundle\AppBundle\Entity\DiscountablePriceInterface
Résultat WellCommerce\Bundle\AppBundle\Entity\DiscountablePriceInterface

createEmptyCollection() protected méthode

protected createEmptyCollection ( ) : Doctrine\Common\Collections\Collection
Résultat Doctrine\Common\Collections\Collection

createPrice() protected méthode

protected createPrice ( ) : WellCommerce\Bundle\AppBundle\Entity\PriceInterface
Résultat WellCommerce\Bundle\AppBundle\Entity\PriceInterface

getDefaultCurrency() protected méthode

protected getDefaultCurrency ( ) : WellCommerce\Bundle\CurrencyBundle\Entity\CurrencyInterface
Résultat WellCommerce\Bundle\CurrencyBundle\Entity\CurrencyInterface

getDefaultShop() protected méthode

protected getDefaultShop ( ) : WellCommerce\Bundle\ShopBundle\Entity\ShopInterface
Résultat WellCommerce\Bundle\ShopBundle\Entity\ShopInterface

getDefaultShops() protected méthode

protected getDefaultShops ( ) : Doctrine\Common\Collections\Collection
Résultat Doctrine\Common\Collections\Collection

getDefaultTax() protected méthode

protected getDefaultTax ( ) : WellCommerce\Bundle\TaxBundle\Entity\TaxInterface
Résultat WellCommerce\Bundle\TaxBundle\Entity\TaxInterface

init() protected méthode

protected init ( )