HasBlocks
trait HasBlocks (View source)
Methods
                    MorphMany
                
                
                    blocks()
        
                                            
                
            Defines the one-to-many relationship for block objects.
                    renderNamedBlocks($name = 'default', $renderChilds = true, $blockViewMappings = [], $data = [])
        
                                            
                
            No description
                    string
                
                
                    renderBlocks(bool $renderChilds = true, array $blockViewMappings = [], array $data = [])
        
                                            
                
            Returns the rendered Blade views for all attached blocks in their proper order.
Details
        
                            MorphMany
    blocks()
        
    
    Defines the one-to-many relationship for block objects.
        
                            
    renderNamedBlocks($name = 'default', $renderChilds = true, $blockViewMappings = [], $data = [])
        
    
    No description
        
                            string
    renderBlocks(bool $renderChilds = true, array $blockViewMappings = [], array $data = [])
        
    
    Returns the rendered Blade views for all attached blocks in their proper order.