PHP Class Airship\Cabin\Hull\Landing\PublicFiles

Inheritance: extends LandingGear
Afficher le fichier Open project: paragonie/airship

Protected Properties

Свойство Type Description
$cabin string
$files Airship\Cabin\Hull\Blueprint\PublicFiles
$viewableMimeTypes string[]

Méthodes publiques

Méthode Description
airshipLand ( ) This function is called after the dependencies have been injected by AutoPilot. Think of it as a user-land constructor.
download ( string $path, string $default = 'text/plain' ) Download a file (assuming we are allowed to)

Méthodes protégées

Méthode Description
isViewable ( string $mimeHeader ) : boolean

Method Details

airshipLand() public méthode

This function is called after the dependencies have been injected by AutoPilot. Think of it as a user-land constructor.
public airshipLand ( )

download() public méthode

Download a file (assuming we are allowed to)
public download ( string $path, string $default = 'text/plain' )
$path string
$default string Default MIME type

isViewable() protected méthode

protected isViewable ( string $mimeHeader ) : boolean
$mimeHeader string
Résultat boolean

Property Details

$cabin protected_oe property

protected string $cabin
Résultat string

$files protected_oe property

protected PublicFiles,Airship\Cabin\Hull\Blueprint $files
Résultat Airship\Cabin\Hull\Blueprint\PublicFiles

$viewableMimeTypes protected_oe property

protected string[] $viewableMimeTypes
Résultat string[]