src/Tenant/Service/TenantService.php
private function enable(string $filter): TenantService
    {
        $filters = $this->manager->getFilters();

        if (!$filters->has($filter)) {
            throw new LogicException('Filter does not exist.');
        }

        if (!$filters->isEnabled($filter)) {
            $filters->enable($filter);
        }

        return $this;
    }
private function enable(string $filter): TenantService
    {
        $filters = $this->manager->getFilters();

        if (!$filters->has($filter)) {
            throw new LogicException('Filter does not exist.');
        }

        if (!$filters->isEnabled($filter)) {
            $filters->enable($filter);
        }

        return $this;
    }
Enable filter

@param string $filter
@return \Ds\Component\Tenant\Service\TenantService
@throws \LogicException