BgsBackgroundItem
        
        extends JsonResource
    
    
            
            in package
            
        
    
    
    
Class BgsBackgroundItem.
Tags
Table of Contents
Properties
- $preserveKeys : bool
 - $resource : BgsBackground
 
Methods
- toArray() : array<string, mixed>
 - Transform the resource collection into an array.
 
Properties
$preserveKeys
    public
        bool
    $preserveKeys
     = true
    
    
    
$resource
    public
        BgsBackground
    $resource
    
    
    
    
Methods
toArray()
Transform the resource collection into an array.
    public
                    toArray(Request $request) : array<string, mixed>
    Parameters
- $request : Request