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
Component
Product
ProductCollectionInterface
setCollection
Sonata\Component\Product\ProductCollectionInterface::setCollection PHP Method
ProductCollectionInterface Interface Documentation
Show file
Open project: sonata-project/ecommerce
setCollection()
public
method
Set Collection.
public
setCollection
(
Sonata\ClassificationBundle\Model\CollectionInterface
$collection
)
$collection
Sonata\ClassificationBundle\Model\CollectionInterface
public function setCollection(CollectionInterface $collection);
ProductCollectionInterface
getCollection
getCreatedAt
getEnabled
getProduct
getUpdatedAt
setCollection
setCreatedAt
setEnabled
setProduct
setUpdatedAt