/** * Pass a closure to Sentinel to bypass checkpoints. * * @param \Closure $callback * @param array $checkpoints * * @return mixed */ public function bypassCheckpoints(\Closure $callback, $checkpoints = []) { return $this->sentinel->bypassCheckpoints($callback, $checkpoints); }
/** * Pass a closure to Sentinel to bypass checkpoints. * * @param \Closure $callback * @param array $checkpoints * @return mixed * @static */ public static function bypassCheckpoints($callback, $checkpoints = array()) { return \Cartalyst\Sentinel\Sentinel::bypassCheckpoints($callback, $checkpoints); }