PHP Class Sonata\ProductBundle\Entity\BaseProductCollection

Inheritance: implements Sonata\Component\Product\ProductCollectionInterface
Show file Open project: sonata-project/ecommerce

Protected Properties

Property Type Description
$collection Sonata\ClassificationBundle\Model\CollectionInterface
$createdAt DateTime
$enabled boolean
$product Sonata\Component\Product\ProductInterface
$updatedAt DateTime

Public Methods

Method Description
__toString ( )
getCollection ( )
getCreatedAt ( )
getEnabled ( )
getProduct ( )
getUpdatedAt ( )
setCollection ( Sonata\ClassificationBundle\Model\CollectionInterface $collection )
setCreatedAt ( DateTime $createdAt = null )
setEnabled ( $enabled )
setProduct ( Sonata\Component\Product\ProductInterface $product )
setUpdatedAt ( DateTime $updatedAt = null )

Method Details

__toString() public method

public __toString ( )

getCollection() public method

public getCollection ( )

getCreatedAt() public method

public getCreatedAt ( )

getEnabled() public method

public getEnabled ( )

getProduct() public method

public getProduct ( )

getUpdatedAt() public method

public getUpdatedAt ( )

setCollection() public method

public setCollection ( Sonata\ClassificationBundle\Model\CollectionInterface $collection )
$collection Sonata\ClassificationBundle\Model\CollectionInterface

setCreatedAt() public method

public setCreatedAt ( DateTime $createdAt = null )
$createdAt DateTime

setEnabled() public method

public setEnabled ( $enabled )

setProduct() public method

public setProduct ( Sonata\Component\Product\ProductInterface $product )
$product Sonata\Component\Product\ProductInterface

setUpdatedAt() public method

public setUpdatedAt ( DateTime $updatedAt = null )
$updatedAt DateTime

Property Details

$collection protected property

protected CollectionInterface,Sonata\ClassificationBundle\Model $collection
return Sonata\ClassificationBundle\Model\CollectionInterface

$createdAt protected property

protected DateTime $createdAt
return DateTime

$enabled protected property

protected bool $enabled
return boolean

$product protected property

protected ProductInterface,Sonata\Component\Product $product
return Sonata\Component\Product\ProductInterface

$updatedAt protected property

protected DateTime $updatedAt
return DateTime