PHP Class WellCommerce\Bundle\ProductBundle\Storage\ProductStorage

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\ProductBundle\Storage\ProductStorageInterface
Show file Open project: wellcommerce/wellcommerce

Protected Properties

Property Type Description
$currentProduct WellCommerce\Bundle\ProductBundle\Entity\ProductInterface

Public Methods

Method Description
getCurrentProduct ( ) : WellCommerce\Bundle\ProductBundle\Entity\ProductInterface
hasCurrentProduct ( ) : boolean
setCurrentProduct ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product )

Method Details

getCurrentProduct() public method

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

hasCurrentProduct() public method

public hasCurrentProduct ( ) : boolean
return boolean

setCurrentProduct() public method

public setCurrentProduct ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product )
$product WellCommerce\Bundle\ProductBundle\Entity\ProductInterface

Property Details

$currentProduct protected property

protected ProductInterface,WellCommerce\Bundle\ProductBundle\Entity $currentProduct
return WellCommerce\Bundle\ProductBundle\Entity\ProductInterface