OrderSheet
class OrderSheet (View source)
Main entry point for creating new order sheets
Methods
                    count(int $count)
        
                                            
                
            Setter for $count
                    state(array $state)
        
                                            
                
            Setter for $state
                    path(string $path)
        
                                            
                
            Setter for $path
                    header(bool $header = true)
        
                                            
                
            Setter for $header
                    array
                
                
                    toArray()
        
                                            
                
            Export the order sheet data to array or CSV
                    string
                
                
                    csv()
        
                                            
                
            Export the order sheet data to CSV
                    void
                
                
                    xlsx(string $filename = 'order_sheet.xlsx')
        
                                            
                
            Export the order sheet data to XLSX
                    string
                
                
                    __toString()
        
                                            
                
            Magic method to convert the order sheet type to string
                    static OrderSheet
                
                
                    of(OrderSheetType $orderSheetType)
        
                                            
                
            Factory method to create an instance of OrderSheet
Details
        
                            OrderSheet
    count(int $count)
        
    
    Setter for $count
        
                            OrderSheet
    state(array $state)
        
    
    Setter for $state
        
                            OrderSheet
    path(string $path)
        
    
    Setter for $path
        
                            OrderSheet
    header(bool $header = true)
        
    
    Setter for $header
        
                            array
    toArray()
        
    
    Export the order sheet data to array or CSV
        
                            string
    csv()
        
    
    Export the order sheet data to CSV
        
                            void
    xlsx(string $filename = 'order_sheet.xlsx')
        
    
    Export the order sheet data to XLSX
        
                            string
    __toString()
        
    
    Magic method to convert the order sheet type to string
        
                static            OrderSheet
    of(OrderSheetType $orderSheetType)
        
    
    Factory method to create an instance of OrderSheet