src/Traits/RateLimitsCalls.php
public function incrementRateLimitCallCount(int $amount = 1)
    {

        cache()->set($this->getRateLimitKey(), $amount, carbon('now')->addMinute(1));
    }
public function incrementRateLimitCallCount(int $amount = 1)
    {

        cache()->set($this->getRateLimitKey(), $amount, carbon('now')->addMinute(1));
    }
public function incrementRateLimitCallCount ( int $ amount = 1 ) { cache ( ) -> set ( $ this -> getRateLimitKey ( ) , $ amount , carbon ( 'now' ) -> addMinute ( 1 ) ) ; }
Increments the number of calls that have been made.

A rate limit should only live for one minute. This is
because CCP reset the error count every minute.

@param int $amount

@throws \Psr\SimpleCache\InvalidArgumentException
Increments the number of calls that have been made .