PHP Class Flarum\Foundation\AbstractServer

Datei anzeigen Open project: flarum/core

Protected Properties

Property Type Description
$app Application
$basePath string
$config array
$extendCallbacks callable[]
$publicPath string
$storagePath string

Public Methods

Method 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 )

Protected Methods

Method Description
getIlluminateConfig ( Application $app ) : Illuminate\Config\Repository
registerCache ( Application $app )
registerLogger ( Application $app )

Method Details

__construct() public method

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

extend() public method

public extend ( callable $callback )
$callback callable

getApp() public method

public getApp ( ) : Application
return Application

getBasePath() public method

public getBasePath ( ) : string
return string

getConfig() public method

public getConfig ( ) : array
return array

getIlluminateConfig() protected method

protected getIlluminateConfig ( Application $app ) : Illuminate\Config\Repository
$app Application
return Illuminate\Config\Repository

getPublicPath() public method

public getPublicPath ( ) : string
return string

getStoragePath() public method

public getStoragePath ( ) : string
return string

registerCache() protected method

protected registerCache ( Application $app )
$app Application

registerLogger() protected method

protected registerLogger ( Application $app )
$app Application

setBasePath() public method

public setBasePath ( $basePath )
$basePath

setConfig() public method

public setConfig ( array $config )
$config array

setPublicPath() public method

public setPublicPath ( $publicPath )
$publicPath

setStoragePath() public method

public setStoragePath ( $storagePath )
$storagePath

Property Details

$app protected_oe property

protected Application,Flarum\Foundation $app
return Application

$basePath protected_oe property

protected string $basePath
return string

$config protected_oe property

protected array $config
return array

$extendCallbacks protected_oe property

protected callable[] $extendCallbacks
return callable[]

$publicPath protected_oe property

protected string $publicPath
return string

$storagePath protected_oe property

protected string $storagePath
return string