check() 공개 메소드

{@inheritDoc}
public check ( Cartalyst\Sentinel\Users\UserInterface $user )
$user Cartalyst\Sentinel\Users\UserInterface
예제 #1
0
 public function testCheck()
 {
     $checkpoint = new ThrottleCheckpoint($throttle = m::mock('Cartalyst\\Sentinel\\Throttling\\IlluminateThrottleRepository'));
     $checkpoint->check(m::mock('Cartalyst\\Sentinel\\Users\\EloquentUser'));
 }