PHP 클래스 Laravel\Installer\Console\NewCommand

상속: extends Symfony\Component\Console\Command\Command
파일 보기 프로젝트 열기: laravel/installer

보호된 메소드들

메소드 설명
cleanUp ( string $zipFile ) Clean-up the Zip file.
configure ( ) : void Configure the command options.
download ( string $zipFile, string $version = 'master' ) Download the temporary Zip to the given file.
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : void Execute the command.
extract ( string $zipFile, string $directory ) Extract the Zip file into the given directory.
findComposer ( ) : string Get the composer command for the environment.
getVersion ( Symfony\Component\Console\Input\InputInterface $input ) : string Get the version that should be downloaded.
makeFilename ( ) : string Generate a random temporary filename.
verifyApplicationDoesntExist ( string $directory ) : void Verify that the application does not already exist.

메소드 상세

cleanUp() 보호된 메소드

Clean-up the Zip file.
protected cleanUp ( string $zipFile )
$zipFile string

configure() 보호된 메소드

Configure the command options.
protected configure ( ) : void
리턴 void

download() 보호된 메소드

Download the temporary Zip to the given file.
protected download ( string $zipFile, string $version = 'master' )
$zipFile string
$version string

execute() 보호된 메소드

Execute the command.
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
리턴 void

extract() 보호된 메소드

Extract the Zip file into the given directory.
protected extract ( string $zipFile, string $directory )
$zipFile string
$directory string

findComposer() 보호된 메소드

Get the composer command for the environment.
protected findComposer ( ) : string
리턴 string

getVersion() 보호된 메소드

Get the version that should be downloaded.
protected getVersion ( Symfony\Component\Console\Input\InputInterface $input ) : string
$input Symfony\Component\Console\Input\InputInterface
리턴 string

makeFilename() 보호된 메소드

Generate a random temporary filename.
protected makeFilename ( ) : string
리턴 string

verifyApplicationDoesntExist() 보호된 메소드

Verify that the application does not already exist.
protected verifyApplicationDoesntExist ( string $directory ) : void
$directory string
리턴 void