PHP 클래스 SinglePageApplicationValetDriver

상속: extends ValetDriver
파일 보기 프로젝트 열기: cpriego/valet-ubuntu

공개 메소드들

메소드 설명
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 ) Determine if the driver serves the request.

보호된 메소드들

메소드 설명
driverDefinedInPackage ( string $sitePath ) : mixed Check the app package.json file to see if valet drive is defined.
hasIndexHtmlFileAtRoot ( sring $sitePath ) : boolean Check to see if the app has an index.html file in a common location.
hasSpaDirectories ( string $sitePath ) : boolean Check if the app has common spa directories.

메소드 상세

driverDefinedInPackage() 보호된 메소드

Check the app package.json file to see if valet drive is defined.
protected driverDefinedInPackage ( string $sitePath ) : mixed
$sitePath string
리턴 mixed

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

hasIndexHtmlFileAtRoot() 보호된 메소드

Check to see if the app has an index.html file in a common location.
protected hasIndexHtmlFileAtRoot ( sring $sitePath ) : boolean
$sitePath sring
리턴 boolean

hasSpaDirectories() 보호된 메소드

Check if the app has common spa directories.
protected hasSpaDirectories ( string $sitePath ) : boolean
$sitePath string
리턴 boolean

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 )
$sitePath string
$siteName string
$uri string