* SPDX-License-Identifier: AGPL-3.0-or-later */ namespace KTXF\Resource\Range; interface IRangeTally extends IRange { /** * Gets the anchor type of the range * * @since 1.0.0 */ public function getAnchor(): RangeAnchorType; /** * Sets the anchor type of the range * * @since 1.0.0 */ public function setAnchor(RangeAnchorType $value): void; /** * Gets the start position of the range * * @since 1.0.0 */ public function getPosition(): string|int; /** * Sets the start position of the range * * @since 1.0.0 */ public function setPosition(string|int $value): void; /** * Gets the count of items in the range * * @since 1.0.0 */ public function getTally(): int; /** * Sets the count of items in the range * * @since 1.0.0 */ public function setTally(int $value): void; }