<?php declare(strict_types=1);

namespace Newland\NeosFiltering\Factory\Override;

use Newland\Contracts\Neos\Filter\FilterItem;
use Newland\NeosFiltering\Factory\OverrideBehaviour;

class Show implements OverrideBehaviour
{
    public function applyOverride(FilterItem $item, $override, array $configuration): FilterItem
    {
        $item->setState($override);
        return $item;
    }
}
