PHP Class Todaymade\Daux\Server\Server

ファイルを表示 Open project: justinwalsh/daux.io Class Usage Examples

Public Methods

Method Description
__construct ( Daux $daux )
getParams ( ) : Config
getRequest ( )
handle ( ) : Todaymade\Daux\Format\Base\Page Handle an incoming request
serve ( ) Serve the documentation
serveTheme ( $request ) : Todaymade\Daux\Format\Base\Page Handle a request on custom themes

Private Methods

Method Description
getPage ( string $request ) : Todaymade\Daux\Format\Base\Page

Method Details

__construct() public method

public __construct ( Daux $daux )
$daux Todaymade\Daux\Daux

getParams() public method

public getParams ( ) : Config
return Todaymade\Daux\Config

getRequest() public method

public getRequest ( )

handle() public method

Handle an incoming request
public handle ( ) : Todaymade\Daux\Format\Base\Page
return Todaymade\Daux\Format\Base\Page

serve() public static method

Serve the documentation
public static serve ( )

serveTheme() public method

Handle a request on custom themes
public serveTheme ( $request ) : Todaymade\Daux\Format\Base\Page
return Todaymade\Daux\Format\Base\Page