InteractsWithViews
trait InteractsWithViews (View source)
Methods
                    $this
                
                
                    withViewErrors(array $errors, string $key = 'default')
        
                                            
                
            Populate the shared view error bag with the given errors.
Details
        
                    protected        TestView
    view(string $view, Arrayable|array $data = [])
        
    
    Create a new TestView from the given view.
        
                    protected        TestView
    blade(string $template, Arrayable|array $data = [])
        
    
    Render the contents of the given Blade template string.
        
                    protected        TestComponent
    component(string $componentClass, Arrayable|array $data = [])
        
    
    Render the given view component.
        
                    protected        $this
    withViewErrors(array $errors, string $key = 'default')
        
    
    Populate the shared view error bag with the given errors.