Sonata\Component\Product\ProductManagerInterface::findEnabledFromIdAndSlug PHP Метод

findEnabledFromIdAndSlug() публичный Метод

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
Результат Sonata\Component\Product\ProductInterface | null
    public function findEnabledFromIdAndSlug($id, $slug);