protected function redirectUserPath(string $namespace, string $path, ?string $redirect = null): string
    {
        if (! empty($redirect)) {
            $path = $redirect;
        }

        $property = \sprintf('redirect%sPath', Str::ucfirst($namespace));

        return \property_exists($this, $property) ? $this->{$property} : $path;
    }
protected function redirectUserPath(string $namespace, string $path, ?string $redirect = null): string
    {
        if (! empty($redirect)) {
            $path = $redirect;
        }

        $property = \sprintf('redirect%sPath', Str::ucfirst($namespace));

        return \property_exists($this, $property) ? $this->{$property} : $path;
    }
protected function redirectUserPath ( string $ namespace , string $ path , ? string $ redirect = null ) : string { if ( ! empty ( $ redirect ) ) { $ path = $ redirect ; } $ property = \ sprintf ( 'redirect%sPath' , Str :: ucfirst ( $ namespace ) ) ; return \ property_exists ( $ this , $ property ) ? $ this -> { $ property } : $ path ; }
Get redirection path.

@param  string  $namespace
@param  string  $path
@param  string|null  $redirect

@return string
Get redirection path .