PHP Класс Laravel\Installer\Console\NewCommand

Наследование: extends Symfony\Component\Console\Command\Command
Показать файл Открыть проект

Защищенные методы

Метод Описание
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