October\Rain\Halcyon\Exception\InvalidExtensionException

Extends
  • RuntimeException
  • Exception
Implements
  • Throwable
  • Stringable

Protected Properties

protected string $invalidExtension

protected array $allowedExtensions

Show inherited protected properties

Inherited Protected Properties

  • $message - (defined in Exception)
  • $code - (defined in Exception)
  • $file - (defined in Exception)
  • $line - (defined in Exception)

Public Methods

public getAllowedExtensions()

public getAllowedExtensions(): array 

getAllowedExtensions gets the list of allowed extensions

public getInvalidExtension()

public getInvalidExtension(): string 

getInvalidExtension gets the affected file extension

public setAllowedExtensions()

public setAllowedExtensions(
    $allowedExtensions
): October\Rain\Halcyon\Exception\InvalidExtensionException 

setAllowedExtensions sets the list of allowed extensions

public setInvalidExtension()

public setInvalidExtension(
    $invalidExtension
): October\Rain\Halcyon\Exception\InvalidExtensionException 

setInvalidExtension sets the affected file extension

Show inherited public methods

Inherited Public Methods

  • __construct() - (defined in Exception)
  • __toString() - (defined in Exception)
  • __wakeup() - (defined in Exception)
  • getCode() - (defined in Exception)
  • getFile() - (defined in Exception)
  • getLine() - (defined in Exception)
  • getMessage() - (defined in Exception)
  • getPrevious() - (defined in Exception)
  • getTrace() - (defined in Exception)
  • getTraceAsString() - (defined in Exception)