PHP Trait WellCommerce\Bundle\ShopBundle\Entity\ShopCollectionAwareTrait

Author: Adam Piotrowski ([email protected])
Show file Open project: wellcommerce/wellcommerce

Protected Properties

Property Type Description
$shops Doctrine\Common\Collections\Collection

Public Methods

Method Description
addShop ( WellCommerce\Bundle\ShopBundle\Entity\ShopInterface $shop )
getShops ( ) : Doctrine\Common\Collections\Collection
setShops ( Doctrine\Common\Collections\Collection $shops )

Method Details

addShop() public method

public addShop ( WellCommerce\Bundle\ShopBundle\Entity\ShopInterface $shop )
$shop WellCommerce\Bundle\ShopBundle\Entity\ShopInterface

getShops() public method

public getShops ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

setShops() public method

public setShops ( Doctrine\Common\Collections\Collection $shops )
$shops Doctrine\Common\Collections\Collection

Property Details

$shops protected property

protected Collection,Doctrine\Common\Collections $shops
return Doctrine\Common\Collections\Collection