1 | <?php |
||
20 | final class CategoryManager implements CategoryManagerInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var ManagerInterface |
||
24 | */ |
||
25 | private $categoryManager; |
||
26 | |||
27 | /** |
||
28 | * @param ManagerInterface $categoryManager |
||
29 | */ |
||
30 | public function __construct(ManagerInterface $categoryManager) |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function getRootCategory($context) |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function getRootCategories($loadChildren = true) |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function find($categoryId) |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function findBy(array $criteria) |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function create() |
||
74 | |||
75 | /** |
||
76 | * {@inheritdoc} |
||
77 | */ |
||
78 | public function save($category) |
||
82 | } |
||
83 |