src/Guard.php
public function registerAt(Gate $gate)
    {
        $gate->before(function () {
            return call_user_func_array([
                $this, 'runBeforeCallback'
            ], func_get_args());
        });

        $gate->after(function () {
            return call_user_func_array([
                $this, 'runAfterCallback'
            ], func_get_args());
        });

        return $this;
    }
public function registerAt(Gate $gate)
    {
        $gate->before(function () {
            return call_user_func_array([
                $this, 'runBeforeCallback'
            ], func_get_args());
        });

        $gate->after(function () {
            return call_user_func_array([
                $this, 'runAfterCallback'
            ], func_get_args());
        });

        return $this;
    }
public function registerAt ( Gate $ gate ) { $ gate -> before ( function ( ) { return call_user_func_array ( [ $ this , 'runBeforeCallback' ] , func_get_args ( ) ) ; } ) ; $ gate -> after ( function ( ) { return call_user_func_array ( [ $ this , 'runAfterCallback' ] , func_get_args ( ) ) ; } ) ; return $ this ; }
Register the clipboard at the given gate.

@param  \Illuminate\Contracts\Auth\Access\Gate  $gate
@return $this
Register the clipboard at the given gate .