PHP 클래스 Symfony\Installer\NewCommand

저자: Christophe Coevoet ([email protected])
저자: Javier Eguiluz ([email protected])
상속: extends DownloadCommand
파일 보기 프로젝트 열기: symfony/symfony-installer

보호된 메소드들

메소드 설명
checkSymfonyVersionIsInstallable ( ) Checks whether the given Symfony version is installable by the installer.
cleanUp ( ) Removes all the temporary files and directories created to download the project and removes Symfony-related files that don't make sense in a proprietary project.
configure ( )
displayInstallationResult ( ) It displays the message with the result of installing Symfony and provides some pointers to the user.
dumpReadmeFile ( ) Dump a basic README.md file.
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getDownloadedApplicationType ( )
getRemoteFileUrl ( )
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
updateComposerConfig ( ) Updates the composer.json file to provide better values for some of the default configuration values.
updateParameters ( ) Updates the Symfony parameters.yml file to replace default configuration values with better generated values.

메소드 상세

checkSymfonyVersionIsInstallable() 보호된 메소드

Due to the changes introduced in the Icu/Intl components (see http://symfony.com/blog/new-in-symfony-2-6-farewell-to-icu-component) not all the previous Symfony versions are installable by the installer. The rules to decide if the version is installable are as follows: - 2.0, 2.1, 2.2 and 2.4 cannot be installed because they are unmaintained. - 2.3 can be installed starting from version 2.3.21 (inclusive) - 2.5 can be installed starting from version 2.5.6 (inclusive) - 2.6, 2.7, 2.8 and 2.9 can be installed regardless the version.

cleanUp() 보호된 메소드

Removes all the temporary files and directories created to download the project and removes Symfony-related files that don't make sense in a proprietary project.
protected cleanUp ( )

configure() 보호된 메소드

protected configure ( )

displayInstallationResult() 보호된 메소드

It displays the message with the result of installing Symfony and provides some pointers to the user.

dumpReadmeFile() 보호된 메소드

Dump a basic README.md file.
protected dumpReadmeFile ( )

execute() 보호된 메소드

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

getDownloadedApplicationType() 보호된 메소드

getRemoteFileUrl() 보호된 메소드

protected getRemoteFileUrl ( )

initialize() 보호된 메소드

protected initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

updateComposerConfig() 보호된 메소드

Updates the composer.json file to provide better values for some of the default configuration values.
protected updateComposerConfig ( )

updateParameters() 보호된 메소드

Updates the Symfony parameters.yml file to replace default configuration values with better generated values.
protected updateParameters ( )