<?php
namespace Newland\NeosCommon\Tests\Unit\Service\Fixtures;


use Neos\ContentRepository\Domain\Model\NodeInterface;
use Newland\NeosCommon\Service\AbstractRegionService;

class RegionServiceFixture extends AbstractRegionService
{
    /** @var array */
    protected $regionsAvailableConfiguration;

    /** @var array */
    protected $regionsEnabledConfiguration;

    public function setRegionsAvailable(array $regionsAvailable)
    {
        $this->regionsAvailableConfiguration = $regionsAvailable;
    }

    public function setRegionsEnabled(array $regionsEnabled)
    {
        $this->regionsEnabledConfiguration = $regionsEnabled;
    }

    protected function getRegionsAvailable(): array
    {
        return $this->regionsAvailableConfiguration;
    }

    protected function getRegionsEnabled(NodeInterface $node): array
    {
        return $this->regionsEnabledConfiguration;
    }
}
