PHP Class Codesleeve\AssetPipeline\AssetPipelineController

Inheritance: extends Controlle\Controller
Show file Open project: codesleeve/asset-pipeline Class Usage Examples

Public Methods

Method Description
file ( $path ) : Illuminate\Support\Facades\Response Returns a file in the assets directory

Private Methods

Method Description
clientCacheForFile ( string $path ) : void Client cache regular files that are not javascript or stylesheets files
javascript ( $path ) * Returns a javascript file for the given path.
stylesheet ( $path ) : Illuminate\Support\Facades\Response Returns css for the given path

Method Details

file() public method

Returns a file in the assets directory
public file ( $path ) : Illuminate\Support\Facades\Response
return Illuminate\Support\Facades\Response