baserCMS クラスリファレンス

BcAssetDispatcher
in package
implements MiddlewareInterface

Class BcAssetDispatcher

/app/View/webroot/ や、/baser/View/webroot/ 内のアセットファイルを 読み込めるようにする為のフィルター

(例)/css/style.css では、次のファイルを参照する事ができる /app/View/webroot/css/style.css /lib/Baser/View/webroot/css/style.css

Interfaces, Classes, Traits and Enums

MiddlewareInterface

Table of Contents

$priority  : int
Default priority for all methods in this filter This filter should run before the request gets parsed by router
process()  : ResponseInterface
Process

Properties

$priority

Default priority for all methods in this filter This filter should run before the request gets parsed by router

public int $priority = 4

Methods

process()

Process

public process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
$request : ServerRequestInterface
$handler : RequestHandlerInterface
Return values
ResponseInterface

Search results