InvalidExtensionException
 class Winter\Storm\Halcyon\Exception\InvalidExtensionException
extends RuntimeExceptionExtends
| Class | Description | 
|---|---|
| RuntimeException | 
Properties
protected $allowedExtensions : array
A list of allowable extensions.
protected $invalidExtension : string
Name of the affected file extension.
Methods
public getAllowedExtensions () : array
Get the list of allowed extensions.
Returns
            array
                public getInvalidExtension () : string
Get the affected file extension.
Returns
            string
                public setAllowedExtensions (array $allowedExtensions) : $this
Set the list of allowed extensions.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $allowedExtensions | array | array | 
Returns
            $this
                public setInvalidExtension (string $invalidExtension) : $this
Set the affected file extension.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $invalidExtension | string | string | 
Returns
            $this
                
            
            ← Previous page
            Winter\Storm\Halcyon\Exception\FileExistsException
        
                
            Next page →
            Winter\Storm\Halcyon\Exception\InvalidFileNameException
        
    
    Copyright © 2025 Winter CMS