Your IP : 216.73.216.43


Current Path : /var/www/surf/TYPO3/vendor/lolli42/finediff/src/Granularity/
Upload File :
Current File : //var/www/surf/TYPO3/vendor/lolli42/finediff/src/Granularity/GranularityInterface.php

<?php

declare(strict_types=1);

/*
 * FINE granularity DIFF
 *
 * (c) 2011 Raymond Hill (http://raymondhill.net/blog/?p=441)
 * (c) 2013 Robert Crowe (http://cogpowered.com)
 * (c) 2021 Christian Kuhn
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

namespace cogpowered\FineDiff\Granularity;

use ArrayAccess;
use Countable;

/**
 * @extends ArrayAccess<?int, string>
 */
interface GranularityInterface extends ArrayAccess, Countable
{
    /**
     * Get the delimiters that make up the granularity.
     *
     * @return array<int, array<int, string>>
     */
    public function getDelimiters(): array;

    /**
     * Set the delimiters that make up the granularity.
     *
     * @param array<int, array<int, string>> $delimiters
     */
    public function setDelimiters(array $delimiters): void;
}