interface AssetStoreRouter (View source)

Represents a store usable with ProtectedFileController to serve up non-direct file requests

Methods

public
getResponseFor(string $asset)

Generate a custom HTTP response for a request to a given asset, identified by a path.

Details

HTTPResponse getResponseFor(string $asset)

Generate a custom HTTP response for a request to a given asset, identified by a path.

Parameters

string $asset

Asset path name, omitting any leading 'assets'

Return Value

HTTPResponse

Exceptions

HTTPResponse_Exception