PHP 클래스 BasicValetDriver

상속: extends ValetDriver
파일 보기 프로젝트 열기: laravel/valet 1 사용 예제들

공개 메소드들

메소드 설명
frontControllerPath ( string $sitePath, string $siteName, string $uri ) : string Get the fully resolved path to the application's front controller.
isStaticFile ( string $sitePath, string $siteName, string $uri ) : string | false Determine if the incoming request is for a static file.
serves ( string $sitePath, string $siteName, string $uri ) : boolean Determine if the driver serves the request.

보호된 메소드들

메소드 설명
asActualFile ( string $sitePath, string $uri ) : string Concatenate the site path and URI as a single file name.
asHtmlIndexFileInDirectory ( string $sitePath, string $uri ) : string Format the site path and URI with a trailing "index.html".
asPhpIndexFileInDirectory ( string $sitePath, string $uri ) : string Format the site path and URI with a trailing "index.php".
asPublicHtmlIndexFile ( string $sitePath ) : string Format the incoming site path as a "public/index.php" file path.
asPublicPhpIndexFile ( string $sitePath ) : string Format the incoming site path as a "public/index.php" file path.
asRootPhpIndexFile ( string $sitePath ) : string Format the incoming site path as root "index.php" file path.

메소드 상세

asActualFile() 보호된 메소드

Concatenate the site path and URI as a single file name.
protected asActualFile ( string $sitePath, string $uri ) : string
$sitePath string
$uri string
리턴 string

asHtmlIndexFileInDirectory() 보호된 메소드

Format the site path and URI with a trailing "index.html".
protected asHtmlIndexFileInDirectory ( string $sitePath, string $uri ) : string
$sitePath string
$uri string
리턴 string

asPhpIndexFileInDirectory() 보호된 메소드

Format the site path and URI with a trailing "index.php".
protected asPhpIndexFileInDirectory ( string $sitePath, string $uri ) : string
$sitePath string
$uri string
리턴 string

asPublicHtmlIndexFile() 보호된 메소드

Format the incoming site path as a "public/index.php" file path.
protected asPublicHtmlIndexFile ( string $sitePath ) : string
$sitePath string
리턴 string

asPublicPhpIndexFile() 보호된 메소드

Format the incoming site path as a "public/index.php" file path.
protected asPublicPhpIndexFile ( string $sitePath ) : string
$sitePath string
리턴 string

asRootPhpIndexFile() 보호된 메소드

Format the incoming site path as root "index.php" file path.
protected asRootPhpIndexFile ( string $sitePath ) : string
$sitePath string
리턴 string

frontControllerPath() 공개 메소드

Get the fully resolved path to the application's front controller.
public frontControllerPath ( string $sitePath, string $siteName, string $uri ) : string
$sitePath string
$siteName string
$uri string
리턴 string

isStaticFile() 공개 메소드

Determine if the incoming request is for a static file.
public isStaticFile ( string $sitePath, string $siteName, string $uri ) : string | false
$sitePath string
$siteName string
$uri string
리턴 string | false

serves() 공개 메소드

Determine if the driver serves the request.
public serves ( string $sitePath, string $siteName, string $uri ) : boolean
$sitePath string
$siteName string
$uri string
리턴 boolean