PHP Class WellCommerce\Bundle\ProductBundle\Factory\ProductFactory

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\DoctrineBundle\Factory\AbstractEntityFactory
Show file Open project: wellcommerce/wellcommerce

Protected Properties

Property Type Description
$supportsInterface string

Public Methods

Method Description
create ( ) : WellCommerce\Bundle\ProductBundle\Entity\ProductInterface

Private Methods

Method Description
createDefaultDiscountablePrice ( ) : WellCommerce\Bundle\AppBundle\Entity\DiscountablePriceInterface
createDefaultPrice ( ) : WellCommerce\Bundle\AppBundle\Entity\PriceInterface
getDefaultUnit ( ) : WellCommerce\Bundle\UnitBundle\Entity\UnitInterface

Method Details

create() public method

public create ( ) : WellCommerce\Bundle\ProductBundle\Entity\ProductInterface
return WellCommerce\Bundle\ProductBundle\Entity\ProductInterface

Property Details

$supportsInterface protected property

protected string $supportsInterface
return string