PHP Class Elcodi\Store\ProductBundle\EventListener\CategoriesOrderChangeEventListener

Show file Open project: elcodi/bamboo

Public Methods

Method Description
__construct ( StoreCategoryTree $storeCategoryTree ) Event listener responsible of listening the categories order change event and update store category tree
onChange ( ) This method is called every time that some property that could affect the categories tree is changed and it reloads the full tree.

Method Details

__construct() public method

Event listener responsible of listening the categories order change event and update store category tree
public __construct ( StoreCategoryTree $storeCategoryTree )
$storeCategoryTree Elcodi\Store\ProductBundle\Services\StoreCategoryTree A store category tree

onChange() public method

This method is called every time that some property that could affect the categories tree is changed and it reloads the full tree.
public onChange ( )