Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sonata
ProductBundle
Entity
BaseProductCollection
setCollection
Sonata\ProductBundle\Entity\BaseProductCollection::setCollection PHP Method
BaseProductCollection Class Documentation
Show file
Open project: sonata-project/ecommerce
setCollection()
public
method
public
setCollection
(
Sonata\ClassificationBundle\Model\CollectionInterface
$collection
)
$collection
Sonata\ClassificationBundle\Model\CollectionInterface
public function setCollection(CollectionInterface $collection) { $this->collection = $collection; }
BaseProductCollection
__toString
getCollection
getCreatedAt
getEnabled
getProduct
getUpdatedAt
setCollection
setCreatedAt
setEnabled
setProduct
setUpdatedAt