프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$app | Illuminate\Foundation\Application | The Illuminate application instance. | |
$appPath | string | Path to the root of the Laravel application. | |
$env | string | The Laravel testing environment. |
메소드 | 설명 | |
---|---|---|
__construct ( string $env, string $appPath ) | Constructor. | |
getAppPath ( ) : string | Get the root Laravel application path. | |
getEnv ( ) : string | Get the Laravel application environment being used. | |
refreshApplication ( Illuminate\Foundation\Application | null $app = null ) : void | Refresh the application instance. |
메소드 | 설명 | |
---|---|---|
createApplication ( ) : Illuminate\Foundation\Application | Creates a Laravel application. |
public __construct ( string $env, string $appPath ) | ||
$env | string | Laravel testing environment. 'testing' by default |
$appPath | string | Path to the Laravel bootstrap dir |
protected createApplication ( ) : Illuminate\Foundation\Application | ||
리턴 | Illuminate\Foundation\Application |
public getAppPath ( ) : string | ||
리턴 | string | Root laravel app path |
public refreshApplication ( Illuminate\Foundation\Application | null $app = null ) : void | ||
$app | Illuminate\Foundation\Application | null | Optionally provide your own unbooted Laravel Application instance. This parameter can largely be ignored and is used just for unit testing |
리턴 | void |
protected Application,Illuminate\Foundation $app | ||
리턴 | Illuminate\Foundation\Application |
protected string $appPath | ||
리턴 | string |