From 5568f2dc62f499a485372591bb0be513fbcf7e8f Mon Sep 17 00:00:00 2001 From: franck Date: Mon, 2 Sep 2013 17:34:11 +0200 Subject: [PATCH] Added missing CategoryEvent class --- core/lib/Thelia/Core/Event/CategoryEvent.php | 47 ++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 core/lib/Thelia/Core/Event/CategoryEvent.php diff --git a/core/lib/Thelia/Core/Event/CategoryEvent.php b/core/lib/Thelia/Core/Event/CategoryEvent.php new file mode 100644 index 000000000..c29d681d8 --- /dev/null +++ b/core/lib/Thelia/Core/Event/CategoryEvent.php @@ -0,0 +1,47 @@ +. */ +/* */ +/*************************************************************************************/ + +namespace Thelia\Core\Event; + +use Thelia\Model\Category; +use Thelia\Core\Event\ActionEvent; + +class CategoryEvent extends ActionEvent +{ + public $category; + + public function __construct(Category $category) + { + $this->category = $category; + } + + /** + * @return \Thelia\Model\Category + */ + public function getCategory() + { + return $this->category; + } + + +}