PHP 클래스 Valet\Caddy

파일 보기 프로젝트 열기: laravel/valet

공개 프로퍼티들

프로퍼티 타입 설명
$cli
$configuration
$daemonPath
$files
$site

공개 메소드들

메소드 설명
__construct ( CommandLine $cli, Filesystem $files, Configuration $configuration, Site $site ) Create a new Brew instance.
install ( ) : void Install the system launch daemon for the Caddy server.
installCaddyDaemon ( ) : void Install the Caddy daemon on a system level daemon.
installCaddyDirectory ( ) : void Install the Caddy configuration directory to the ~/.valet directory.
installCaddyFile ( ) : void Install the Caddyfile to the ~/.valet directory.
restart ( ) : void Restart the launch daemon.
rewriteSecureCaddyFiles ( ) : void Generate fresh Caddyfiles for existing secure sites.
stop ( ) : void Stop the launch daemon.
uninstall ( ) : void Remove the launch daemon.

메소드 상세

__construct() 공개 메소드

Create a new Brew instance.
public __construct ( CommandLine $cli, Filesystem $files, Configuration $configuration, Site $site )
$cli CommandLine
$files Filesystem
$configuration Configuration
$site Site

install() 공개 메소드

Install the system launch daemon for the Caddy server.
public install ( ) : void
리턴 void

installCaddyDaemon() 공개 메소드

Install the Caddy daemon on a system level daemon.
public installCaddyDaemon ( ) : void
리턴 void

installCaddyDirectory() 공개 메소드

This directory contains all site-specific Caddy definitions.
public installCaddyDirectory ( ) : void
리턴 void

installCaddyFile() 공개 메소드

This file serves as the main server configuration for Valet.
public installCaddyFile ( ) : void
리턴 void

restart() 공개 메소드

Restart the launch daemon.
public restart ( ) : void
리턴 void

rewriteSecureCaddyFiles() 공개 메소드

This simplifies upgrading when the Caddyfile structure changes.
public rewriteSecureCaddyFiles ( ) : void
리턴 void

stop() 공개 메소드

Stop the launch daemon.
public stop ( ) : void
리턴 void

uninstall() 공개 메소드

Remove the launch daemon.
public uninstall ( ) : void
리턴 void

프로퍼티 상세

$cli 공개적으로 프로퍼티

public $cli

$configuration 공개적으로 프로퍼티

public $configuration

$daemonPath 공개적으로 프로퍼티

public $daemonPath

$files 공개적으로 프로퍼티

public $files

$site 공개적으로 프로퍼티

public $site