PHP Class Flarum\Foundation\AbstractServer

Afficher le fichier Open project: flarum/core

Protected Properties

Свойство Type Description
$app Application
$basePath string
$config array
$extendCallbacks callable[]
$publicPath string
$storagePath string

Méthodes publiques

Méthode Description
__construct ( null $basePath = null, null $publicPath = null )
extend ( callable $callback )
getApp ( ) : Application
getBasePath ( ) : string
getConfig ( ) : array
getPublicPath ( ) : string
getStoragePath ( ) : string
setBasePath ( $basePath )
setConfig ( array $config )
setPublicPath ( $publicPath )
setStoragePath ( $storagePath )

Méthodes protégées

Méthode Description
getIlluminateConfig ( Application $app ) : Illuminate\Config\Repository
registerCache ( Application $app )
registerLogger ( Application $app )

Method Details

__construct() public méthode

public __construct ( null $basePath = null, null $publicPath = null )
$basePath null
$publicPath null

extend() public méthode

public extend ( callable $callback )
$callback callable

getApp() public méthode

public getApp ( ) : Application
Résultat Application

getBasePath() public méthode

public getBasePath ( ) : string
Résultat string

getConfig() public méthode

public getConfig ( ) : array
Résultat array

getIlluminateConfig() protected méthode

protected getIlluminateConfig ( Application $app ) : Illuminate\Config\Repository
$app Application
Résultat Illuminate\Config\Repository

getPublicPath() public méthode

public getPublicPath ( ) : string
Résultat string

getStoragePath() public méthode

public getStoragePath ( ) : string
Résultat string

registerCache() protected méthode

protected registerCache ( Application $app )
$app Application

registerLogger() protected méthode

protected registerLogger ( Application $app )
$app Application

setBasePath() public méthode

public setBasePath ( $basePath )
$basePath

setConfig() public méthode

public setConfig ( array $config )
$config array

setPublicPath() public méthode

public setPublicPath ( $publicPath )
$publicPath

setStoragePath() public méthode

public setStoragePath ( $storagePath )
$storagePath

Property Details

$app protected_oe property

protected Application,Flarum\Foundation $app
Résultat Application

$basePath protected_oe property

protected string $basePath
Résultat string

$config protected_oe property

protected array $config
Résultat array

$extendCallbacks protected_oe property

protected callable[] $extendCallbacks
Résultat callable[]

$publicPath protected_oe property

protected string $publicPath
Résultat string

$storagePath protected_oe property

protected string $storagePath
Résultat string