PHP 인터페이스 Tolerance\Throttling\RateMeasureStorage\RateMeasureStorage

파일 보기 프로젝트 열기: sroze/tolerance 0 사용 예제들

공개 메소드들

메소드 설명
find ( string $identifier ) : Tolerance\Throttling\RateMeasure\RateMeasure | null Find a measure for the given identifier.
save ( string $identifier, Tolerance\Throttling\RateMeasure\RateMeasure $measure ) Save a measure for the given identifier.

메소드 상세

find() 공개 메소드

Find a measure for the given identifier.
public find ( string $identifier ) : Tolerance\Throttling\RateMeasure\RateMeasure | null
$identifier string
리턴 Tolerance\Throttling\RateMeasure\RateMeasure | null

save() 공개 메소드

Save a measure for the given identifier.
public save ( string $identifier, Tolerance\Throttling\RateMeasure\RateMeasure $measure )
$identifier string
$measure Tolerance\Throttling\RateMeasure\RateMeasure