UploadFile
classe UploadFile (Voir la source)
Méthodes
                    __construct(array $file)
        
                                            
                
            UploadFile constructor.
                    string
                
                
                    getExtension()
        
                                            
                
            Get the file extension
                    string
                
                
                    extension()
        
                                            
                
            The is getExtension alias
                    string
                
                
                    getTypeMime()
        
                                            
                
            Get the file extension
                    mixed
                
                
                    getFilesize()
        
                                            
                
            Get the size of the file
                    bool
                
                
                    isUploaded()
        
                                            
                
            Check if the file is uploader
                    string
                
                
                    getBasename()
        
                                            
                
            Get the main name of the file
                    mixed
                
                
                    getFilename()
        
                                            
                
            Get the filename
                    string
                
                
                    getContent()
        
                                            
                
            Get the file content
                    string
                
                
                    getHashName()
        
                                            
                
            Get the file hash name
                    bool
                
                
                    moveTo(string $to, string|null $filename = null)
        
                                            
                
            Move the uploader file to a directory.
Détails
        
                            
    __construct(array $file)
        
    
    UploadFile constructor.
        
                            string
    getExtension()
        
    
    Get the file extension
        
                            string
    extension()
        
    
    The is getExtension alias
        
                            string
    getTypeMime()
        
    
    Get the file extension
        
                            mixed
    getFilesize()
        
    
    Get the size of the file
        
                            bool
    isUploaded()
        
    
    Check if the file is uploader
        
                            string
    getBasename()
        
    
    Get the main name of the file
        
                            mixed
    getFilename()
        
    
    Get the filename
        
                            string
    getContent()
        
    
    Get the file content
        
                            string
    getHashName()
        
    
    Get the file hash name
        
                            bool
    moveTo(string $to, string|null $filename = null)
        
    
    Move the uploader file to a directory.