BrowserController
class BrowserController extendsController
Traits
AuthorizesRequests
ValidatesRequests
Methods
bool
isAutomatedRequest(Request$request =null)
Determines if the request was done by an automated script (with API token or ajax).
from Controller
RedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
from Controller
void
__construct()
Instantiate a new controller instance.
Response
indexDirectories(Request$request,string$disk)
List directories in a storage disk.
Response
indexImages(Request$request,string$disk)
List images in a storage disk.
bool
diskAccessible(string$disk)
Determines if a storage disk is accessible.
array
removePrefix(string$prefix,array$list)
Removes a prefix from all strings in an array.
Details
inControllerat line21
bool
isAutomatedRequest(Request$request =null)
Determines if the request was done by an automated script (with API token or ajax).
inControllerat line15
protectedRedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
at line17
void
__construct()
Instantiate a new controller instance.
at line51
Response
indexDirectories(Request$request,string$disk)
List directories in a storage disk.
at line90
Response
indexImages(Request$request,string$disk)
List images in a storage disk.
at line111
protectedbool
diskAccessible(string$disk)
Determines if a storage disk is accessible.
at line125
protectedarray
removePrefix(string$prefix,array$list)
Removes a prefix from all strings in an array.