PHP 클래스 Brotzka\DotenvEditor\Http\Controller\EnvController

상속: extends Illuminate\Routing\Controller
파일 보기 프로젝트 열기: brotzka/laravel-dotenv-editor

공개 메소드들

메소드 설명
add ( Illuminate\Http\Request $request )
createBackup ( ) : Illuminate\Http\RedirectResponse
delete ( Illuminate\Http\Request $request )
deleteBackup ( $timestamp ) : Illuminate\Http\RedirectResponse
download ( boolean $filename = false ) : BinaryFileResponse
getDetails ( null $timestamp = NULL ) : string
overview ( Illuminate\Http\Request $request ) : Illuminate\Contracts\View\Factory | Illuminate\View\View
restore ( $backuptimestamp ) : Illuminate\Http\RedirectResponse | Redirector
update ( Illuminate\Http\Request $request )
upload ( Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse | Redirector

메소드 상세

add() 공개 메소드

public add ( Illuminate\Http\Request $request )
$request Illuminate\Http\Request Adds a new entry to your .env-file.

createBackup() 공개 메소드

public createBackup ( ) : Illuminate\Http\RedirectResponse
리턴 Illuminate\Http\RedirectResponse Creates a backup of the current .env.

delete() 공개 메소드

public delete ( Illuminate\Http\Request $request )
$request Illuminate\Http\Request Deletes the given entry from your .env-file

deleteBackup() 공개 메소드

public deleteBackup ( $timestamp ) : Illuminate\Http\RedirectResponse
$timestamp
리턴 Illuminate\Http\RedirectResponse

download() 공개 메소드

public download ( boolean $filename = false ) : BinaryFileResponse
$filename boolean
리턴 Symfony\Component\HttpFoundation\BinaryFileResponse Lets you download the choosen backup-file.

getDetails() 공개 메소드

public getDetails ( null $timestamp = NULL ) : string
$timestamp null
리턴 string Returns the content as JSON

overview() 공개 메소드

public overview ( Illuminate\Http\Request $request ) : Illuminate\Contracts\View\Factory | Illuminate\View\View
$request Illuminate\Http\Request
리턴 Illuminate\Contracts\View\Factory | Illuminate\View\View Shows the overview, where you can visually edit your .env-file.

restore() 공개 메소드

public restore ( $backuptimestamp ) : Illuminate\Http\RedirectResponse | Redirector
$backuptimestamp
리턴 Illuminate\Http\RedirectResponse | Illuminate\Routing\Redirector Restore a backup

update() 공개 메소드

public update ( Illuminate\Http\Request $request )
$request Illuminate\Http\Request Updates the given entry from your .env.

upload() 공개 메소드

public upload ( Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse | Redirector
$request Illuminate\Http\Request
리턴 Illuminate\Http\RedirectResponse | Illuminate\Routing\Redirector Upload a .env-file and replace the current one