PHP Class Asvae\ApiTester\Http\Controllers\AssetsController

Inheritance: extends Illuminate\Routing\Controller
Show file Open project: asvae/laravel-api-tester

Public Methods

Method Description
font ( $file )
image ( $file )
index ( $file )

Protected Methods

Method Description
file ( $file, $root )
getFileContentType ( $file ) : mixed Figure out appropriate "Content-Type" header by filename.

Method Details

file() protected method

protected file ( $file, $root )

font() public method

public font ( $file )

getFileContentType() protected method

Figure out appropriate "Content-Type" header by filename.
protected getFileContentType ( $file ) : mixed
$file
return mixed

image() public method

public image ( $file )

index() public method

public index ( $file )