PHP Class WellCommerce\Bundle\NewsBundle\Context\Front\NewsContext

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\NewsBundle\Context\Front\NewsContextInterface
Datei anzeigen Open project: wellcommerce/wellcommerce

Protected Properties

Property Type Description
$currentNews WellCommerce\Bundle\NewsBundle\Entity\NewsInterface

Public Methods

Method Description
getCurrentNews ( ) : WellCommerce\Bundle\NewsBundle\Entity\NewsInterface
hasCurrentNews ( ) : boolean
setCurrentNews ( WellCommerce\Bundle\NewsBundle\Entity\NewsInterface $news )

Method Details

getCurrentNews() public method

public getCurrentNews ( ) : WellCommerce\Bundle\NewsBundle\Entity\NewsInterface
return WellCommerce\Bundle\NewsBundle\Entity\NewsInterface

hasCurrentNews() public method

public hasCurrentNews ( ) : boolean
return boolean

setCurrentNews() public method

public setCurrentNews ( WellCommerce\Bundle\NewsBundle\Entity\NewsInterface $news )
$news WellCommerce\Bundle\NewsBundle\Entity\NewsInterface

Property Details

$currentNews protected_oe property

protected NewsInterface,WellCommerce\Bundle\NewsBundle\Entity $currentNews
return WellCommerce\Bundle\NewsBundle\Entity\NewsInterface