UserItem
        
        extends JsonResource
    
    
            
            in package
            
        
    
    
    
Class UserItem.
Tags
Table of Contents
Properties
Methods
- toArray() : array<string, mixed>
 - Transform the resource collection into an array.
 - getExtra() : array<string, bool>
 
Properties
$resource
    public
        User
    $resource
    
    
    
    
Methods
toArray()
Transform the resource collection into an array.
    public
                    toArray(Request $request) : array<string, mixed>
    Parameters
- $request : Request
 
Return values
array<string, mixed>getExtra()
    private
                    getExtra() : array<string, bool>