Property | Type | Description | |
---|---|---|---|
$category | Sonata\ClassificationBundle\Model\CategoryInterface | ||
$createdAt | DateTime | ||
$enabled | boolean | ||
$main | boolean | ||
$product | Sonata\Component\Product\ProductInterface | ||
$updatedAt | DateTime |
Method | Description | |
---|---|---|
__toString ( ) | ||
getCategory ( ) | ||
getCreatedAt ( ) | ||
getEnabled ( ) | ||
getMain ( ) | ||
getProduct ( ) | ||
getUpdatedAt ( ) | ||
setCategory ( Sonata\ClassificationBundle\Model\CategoryInterface $category ) | ||
setCreatedAt ( DateTime $createdAt = null ) | ||
setEnabled ( $enabled ) | ||
setMain ( $main ) | ||
setProduct ( Sonata\Component\Product\ProductInterface $product ) | ||
setUpdatedAt ( DateTime $updatedAt = null ) |
public setCategory ( Sonata\ClassificationBundle\Model\CategoryInterface $category ) | ||
$category | Sonata\ClassificationBundle\Model\CategoryInterface |
public setProduct ( Sonata\Component\Product\ProductInterface $product ) | ||
$product | Sonata\Component\Product\ProductInterface |
protected CategoryInterface,Sonata\ClassificationBundle\Model $category | ||
return | Sonata\ClassificationBundle\Model\CategoryInterface |
protected ProductInterface,Sonata\Component\Product $product | ||
return | Sonata\Component\Product\ProductInterface |