You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
578 B
PHP
28 lines
578 B
PHP
<?php
|
|
|
|
namespace BusinessLogic\Categories;
|
|
|
|
|
|
use DataAccess\Categories\CategoryGateway;
|
|
|
|
class CategoryHandler {
|
|
/* @var $categoryGateway CategoryGateway */
|
|
private $categoryGateway;
|
|
|
|
function __construct($categoryGateway) {
|
|
$this->categoryGateway = $categoryGateway;
|
|
}
|
|
|
|
/**
|
|
* @param $category Category
|
|
* @param $heskSettings array
|
|
*/
|
|
function createCategory($category, $heskSettings) {
|
|
$this->categoryGateway->createCategory($category, $heskSettings);
|
|
}
|
|
|
|
function editCategory($category, $heskSettings) {
|
|
|
|
|
|
}
|
|
} |