Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Sonata
Component
Product
ProductManagerInterface
findEnabledFromIdAndSlug
Sonata\Component\Product\ProductManagerInterface::findEnabledFromIdAndSlug PHP Method
ProductManagerInterface Interface Documentation
Mostrar archivo
Open project: sonata-project/ecommerce
findEnabledFromIdAndSlug()
public
method
Retrieve an active product from its id and its slug.
public
findEnabledFromIdAndSlug
(
integer
$id
,
string
$slug
) :
Sonata\Component\Product\ProductInterface |
null
$id
integer
$slug
string
return
Sonata\Component\Product\ProductInterface |
null
public function findEnabledFromIdAndSlug($id, $slug);
ProductManagerInterface
findEnabledFromIdAndSlug
findInSameCollections
findParentsInSameCollections
findVariations
updateStock