src/Middleware/LaratrustMiddleware.php
protected function assignRealValuesTo($team, $options)
    {
        return [
            (Str::contains($team, ['require_all', 'guard:']) ? null : $team),
            (Str::contains($team, 'require_all') ?: Str::contains($options, 'require_all')),
            (Str::contains($team, 'guard:') ? $this->extractGuard($team) : (
                Str::contains($options, 'guard:')
                ? $this->extractGuard($options)
                : Config::get('auth.defaults.guard')
            )),
        ];
    }
protected function assignRealValuesTo($team, $options)
    {
        return [
            (Str::contains($team, ['require_all', 'guard:']) ? null : $team),
            (Str::contains($team, 'require_all') ?: Str::contains($options, 'require_all')),
            (Str::contains($team, 'guard:') ? $this->extractGuard($team) : (
                Str::contains($options, 'guard:')
                ? $this->extractGuard($options)
                : Config::get('auth.defaults.guard')
            )),
        ];
    }
protected function assignRealValuesTo ( $ team , $ options ) { return [ ( Str :: contains ( $ team , [ 'require_all' , 'guard:' ] ) ? null : $ team ) , ( Str :: contains ( $ team , 'require_all' ) ? : Str :: contains ( $ options , 'require_all' ) ) , ( Str :: contains ( $ team , 'guard:' ) ? $ this -> extractGuard ( $ team ) : ( Str :: contains ( $ options , 'guard:' ) ? $ this -> extractGuard ( $ options ) : Config :: get ( 'auth.defaults.guard' ) ) ) , ] ; }
Generate an array with the real values of the parameters given to the middleware.

@param  string $team
@param  string $options
@return array
Generate an array with the real values of the parameters given to the middleware .