public setPrincipalCategory ( Elcodi\Component\Product\Entity\Interfaces\CategoryInterface $principalCategory = null ) | ||
$principalCategory | Elcodi\Component\Product\Entity\Interfaces\CategoryInterface | Principal category |
public function setPrincipalCategory(CategoryInterface $principalCategory = null)
{
$this->principalCategory = $principalCategory;
return $this;
}