src/Pipes/Login/Throttle.php
public function before(ThrottlerInterface $throttler, $job)
	{
		$throttler->setSource($this->getSourceByJob($job));

		$throttler->incrementAttempts();

		if($throttler->tooManyAttempts() || $throttler->lockedOut())
		{
			$throttler->lockOut();

			$seconds = $throttler->getRemainingSeconds();

			throw new DisplayException('auth::throttling.error', compact('seconds'));
		}
	}
public function before(ThrottlerInterface $throttler, $job)
	{
		$throttler->setSource($this->getSourceByJob($job));

		$throttler->incrementAttempts();

		if($throttler->tooManyAttempts() || $throttler->lockedOut())
		{
			$throttler->lockOut();

			$seconds = $throttler->getRemainingSeconds();

			throw new DisplayException('auth::throttling.error', compact('seconds'));
		}
	}
public function before ( ThrottlerInterface $ throttler , $ job ) { $ throttler -> setSource ( $ this -> getSourceByJob ( $ job ) ) ; $ throttler -> incrementAttempts ( ) ; if ( $ throttler -> tooManyAttempts ( ) || $ throttler -> lockedOut ( ) ) { $ throttler -> lockOut ( ) ; $ seconds = $ throttler -> getRemainingSeconds ( ) ; throw new DisplayException ( 'auth::throttling.error' , compact ( 'seconds' ) ) ; } }
Run before the job is handled.

@param	Cerbero\Auth\Services\Throttling\ThrottlerInterface	$throttler
@param	Cerbero\Auth\Jobs\LoginJob	$job
@return	mixed
Run before the job is handled .