From 3172b0018c3797ec77b36bc38b17e93b960160d4 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 27 Feb 2011 14:04:03 +0100 Subject: [PATCH 1/2] [FrameworkBundle] Renamed init:bundle to bundle:init to conform with other commands --- .../{InitBundleCommand.php => BundleInitCommand.php} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename src/Symfony/Bundle/FrameworkBundle/Command/{InitBundleCommand.php => BundleInitCommand.php} (94%) diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/InitBundleCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/BundleInitCommand.php similarity index 94% rename from src/Symfony/Bundle/FrameworkBundle/Command/InitBundleCommand.php rename to src/Symfony/Bundle/FrameworkBundle/Command/BundleInitCommand.php index ca4e59a484090..91fa836ba04c0 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/InitBundleCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/BundleInitCommand.php @@ -23,7 +23,7 @@ * * @author Fabien Potencier */ -class InitBundleCommand extends Command +class BundleInitCommand extends Command { /** * @see Command @@ -38,9 +38,9 @@ protected function configure() new InputOption('format', '', InputOption::VALUE_REQUIRED, 'Use the format for configuration files (php, xml, or yml)', 'yml') )) ->setHelp(<<init:bundle command generates a new bundle with a basic skeleton. +The bundle:init command generates a new bundle with a basic skeleton. -./app/console init:bundle "Vendor\HelloBundle" src [bundleName] +./app/console bundle:init "Vendor\HelloBundle" src [bundleName] The bundle namespace must end with "Bundle" (e.g. Vendor\HelloBundle) and can be placed in any directory (e.g. src). @@ -49,7 +49,7 @@ protected function configure() be the concatenation of the namespace segments (e.g. VendorHelloBundle). EOT ) - ->setName('init:bundle') + ->setName('bundle:init') ; } From 12b370ab928c93217d6b9cbd3868376c5f395bdb Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 27 Feb 2011 15:41:31 +0100 Subject: [PATCH 2/2] [SecurityBundle] Renamed init:acl to acl:init --- .../Command/{InitAclCommand.php => AclInitCommand.php} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename src/Symfony/Bundle/SecurityBundle/Command/{InitAclCommand.php => AclInitCommand.php} (96%) diff --git a/src/Symfony/Bundle/SecurityBundle/Command/InitAclCommand.php b/src/Symfony/Bundle/SecurityBundle/Command/AclInitCommand.php similarity index 96% rename from src/Symfony/Bundle/SecurityBundle/Command/InitAclCommand.php rename to src/Symfony/Bundle/SecurityBundle/Command/AclInitCommand.php index 2f2707c25071c..4c4e8fb9026df 100644 --- a/src/Symfony/Bundle/SecurityBundle/Command/InitAclCommand.php +++ b/src/Symfony/Bundle/SecurityBundle/Command/AclInitCommand.php @@ -22,7 +22,7 @@ * * @author Johannes M. Schmitt */ -class InitAclCommand extends Command +class AclInitCommand extends Command { /** * @see Command @@ -30,7 +30,7 @@ class InitAclCommand extends Command protected function configure() { $this - ->setName('init:acl') + ->setName('acl:init') ; } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy