PHP Class WellCommerce\Component\Breadcrumb\Provider\BreadcrumbProvider

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Component\Breadcrumb\Provider\BreadcrumbProviderInterface
Show file Open project: wellcommerce/wellcommerce

Public Methods

Method Description
__construct ( BreadcrumbCollection $collection ) BreadcrumbProvider constructor.
add ( WellCommerce\Component\Breadcrumb\Model\BreadcrumbInterface $breadcrumb )
getBreadcrumbs ( ) : Doctrine\Common\Collections\Collection

Method Details

__construct() public method

BreadcrumbProvider constructor.
public __construct ( BreadcrumbCollection $collection )
$collection WellCommerce\Component\Breadcrumb\Model\BreadcrumbCollection

add() public method

public add ( WellCommerce\Component\Breadcrumb\Model\BreadcrumbInterface $breadcrumb )
$breadcrumb WellCommerce\Component\Breadcrumb\Model\BreadcrumbInterface

getBreadcrumbs() public method

public getBreadcrumbs ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection