PHP Class Command\GenerateProjectCommand

Author: Bertrand Zuchuat ([email protected])
Author: Clément Jobeili ([email protected])
Inheritance: extends Symfony\Component\Console\Command\Command
显示文件 Open project: Garfield-fr/Symfony2Project

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Private Methods

Method Description
addCustomBundlesToCollection ( $bundlesCollection, $config_user ) Add custom bundles to collection
addCustomNamespacesToCollection ( $nsCollection, $config_user ) Add custom namespaces to collection
addCustomPrefixesToCollection ( $prefixCollection, $config_user ) Add custom prefixes to collection
addCustomRepositoriesToCollection ( $reposCollection, $config_user ) Add custom repositories to collection
checkOptionParameters ( $input ) Check option parameters
checkPathAvailable ( $path, $filesystem ) Generate Bundle Collection
extractPath ( $path ) Extract Path
findAndReplace ( $input, $bundles, $registerNamespaces, $registerPrefixes, $customConfig ) Find and replace
generateBundlesCollection ( $input, $config ) Generate Bundle Collection
generateCustomConfigBundles ( $bundles ) Generate Custom Bundle Configuration
generateNamespacesCollection ( $input, $config ) Generate Namespace collection
generatePrefixesCollection ( $input, $config ) Generate Prefix collection
generateProjectFolder ( $input, $filesystem ) Generate Project Folder
getAbsolutePath ( $path ) Get Absolute Path
getRepositoriesCollection ( $input, $config ) Generate Repository collection
installRepositories ( $repositories, $input, $output ) Install repository
loadConfigFile ( $file ) Load config file
loadProfileFile ( $profile ) Load profile file
removeProject ( $path, $filesystem ) Remove project
typeOfElement ( $element ) Get attributes

Method Details

configure() protected method

protected configure ( )

execute() protected method

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