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
setProduct
Sonata\ProductBundle\Entity\BaseProductCollection::setProduct PHP Method
BaseProductCollection Class Documentation
Show file
Open project: sonata-project/ecommerce
setProduct()
public
method
public
setProduct
(
Sonata\Component\Product\ProductInterface
$product
)
$product
Sonata\Component\Product\ProductInterface
public function setProduct(ProductInterface $product) { $this->product = $product; }
BaseProductCollection
__toString
getCollection
getCreatedAt
getEnabled
getProduct
getUpdatedAt
setCollection
setCreatedAt
setEnabled
setProduct
setUpdatedAt