Files

11 lines
294 B
PHP
Raw Permalink Normal View History

<?php
declare( strict_types=1 );
namespace StreamGoals\Rules;
/** Integer key/value state per goal (sg_state). */
interface StateRepository {
public function getInt( int $goalId, string $key, int $default = 0 ): int;
public function setInt( int $goalId, string $key, int $value ): void;
}