public __construct ( Cartalyst\Sentinel\Throttling\ThrottleRepositoryInterface $throttle, string $ipAddress = null ) : void | ||
$throttle | Cartalyst\Sentinel\Throttling\ThrottleRepositoryInterface | |
$ipAddress | string | |
리턴 | void |
public function __construct(ThrottleRepositoryInterface $throttle, $ipAddress = null)
{
$this->throttle = $throttle;
if (isset($ipAddress)) {
$this->ipAddress = $ipAddress;
}
}