ProductCategoryLinkerInterface

Extends

Interface ProductCategoryLinkerInterface

category

System

package

Product

subpackage

Interfaces

Methods

Links a product to a category.

linkProduct(\IdType $productId, \IdType $targetCategoryId) : $this|\ProductCategoryLinkerInterface

Arguments

$productId

\IdType

Product ID.

$targetCategoryId

\IdType

Target category ID.

Response

$this|\ProductCategoryLinkerInterface

Same instance for chained method calls.