Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

Commit

Permalink
Use AbstractElcodiBundle class for bamboo Bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
mickaelandrieu committed Jul 17, 2015
1 parent 5d59995 commit 508756c
Show file tree
Hide file tree
Showing 20 changed files with 46 additions and 328 deletions.
19 changes: 2 additions & 17 deletions src/Elcodi/Admin/AttributeBundle/AdminAttributeBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@

namespace Elcodi\Admin\AttributeBundle;

use Symfony\Component\Console\Application;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;

use Elcodi\Bundle\CoreBundle\Abstracts\AbstractElcodiBundle;
use Elcodi\Admin\AttributeBundle\DependencyInjection\AdminAttributeExtension;

/**
* Class AdminAttributeBundle
*/
class AdminAttributeBundle extends Bundle
class AdminAttributeBundle extends AbstractElcodiBundle
{
/**
* Returns the bundle's container extension.
Expand All @@ -37,18 +36,4 @@ public function getContainerExtension()
{
return new AdminAttributeExtension();
}

/**
* Register Commands.
*
* Disabled as commands are registered as services.
*
* @param Application $application An Application instance
*
* @return null
*/
public function registerCommands(Application $application)
{
return null;
}
}
19 changes: 2 additions & 17 deletions src/Elcodi/Admin/BannerBundle/AdminBannerBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@

namespace Elcodi\Admin\BannerBundle;

use Symfony\Component\Console\Application;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;

use Elcodi\Admin\BannerBundle\DependencyInjection\AdminBannerExtension;
use Elcodi\Bundle\CoreBundle\Abstracts\AbstractElcodiBundle;

/**
* Class AdminBannerBundle
*/
class AdminBannerBundle extends Bundle
class AdminBannerBundle extends AbstractElcodiBundle
{
/**
* Returns the bundle's container extension.
Expand All @@ -37,18 +36,4 @@ public function getContainerExtension()
{
return new AdminBannerExtension();
}

/**
* Register Commands.
*
* Disabled as commands are registered as services.
*
* @param Application $application An Application instance
*
* @return null
*/
public function registerCommands(Application $application)
{
return null;
}
}
19 changes: 2 additions & 17 deletions src/Elcodi/Admin/CartBundle/AdminCartBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@

namespace Elcodi\Admin\CartBundle;

use Symfony\Component\Console\Application;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;

use Elcodi\Admin\CartBundle\DependencyInjection\AdminCartExtension;
use Elcodi\Bundle\CoreBundle\Abstracts\AbstractElcodiBundle;

/**
* Class AdminCartBundle
*/
class AdminCartBundle extends Bundle
class AdminCartBundle extends AbstractElcodiBundle
{
/**
* Returns the bundle's container extension.
Expand All @@ -37,18 +36,4 @@ public function getContainerExtension()
{
return new AdminCartExtension();
}

/**
* Register Commands.
*
* Disabled as commands are registered as services.
*
* @param Application $application An Application instance
*
* @return null
*/
public function registerCommands(Application $application)
{
return null;
}
}
4 changes: 2 additions & 2 deletions src/Elcodi/Admin/CoreBundle/AdminCoreBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
namespace Elcodi\Admin\CoreBundle;

use Symfony\Component\Console\Application;
use Symfony\Component\HttpKernel\Bundle\Bundle;

use Elcodi\Admin\CoreBundle\DependencyInjection\AdminCoreExtension;
use Elcodi\Bundle\CoreBundle\Abstracts\AbstractElcodiBundle;

/**
* Class AdminCoreBundle
*/
class AdminCoreBundle extends Bundle
class AdminCoreBundle extends AbstractElcodiBundle
{
/**
* Returns the bundle's container extension.
Expand Down
19 changes: 2 additions & 17 deletions src/Elcodi/Admin/CouponBundle/AdminCouponBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@

namespace Elcodi\Admin\CouponBundle;

use Symfony\Component\Console\Application;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;

use Elcodi\Admin\CouponBundle\DependencyInjection\AdminCouponExtension;
use Elcodi\Bundle\CoreBundle\Abstracts\AbstractElcodiBundle;

/**
* Class AdminCouponBundle
*/
class AdminCouponBundle extends Bundle
class AdminCouponBundle extends AbstractElcodiBundle
{
/**
* Returns the bundle's container extension.
Expand All @@ -37,18 +36,4 @@ public function getContainerExtension()
{
return new AdminCouponExtension();
}

/**
* Register Commands.
*
* Disabled as commands are registered as services.
*
* @param Application $application An Application instance
*
* @return null
*/
public function registerCommands(Application $application)
{
return null;
}
}
19 changes: 2 additions & 17 deletions src/Elcodi/Admin/CurrencyBundle/AdminCurrencyBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@

namespace Elcodi\Admin\CurrencyBundle;

use Symfony\Component\Console\Application;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;

use Elcodi\Admin\CurrencyBundle\DependencyInjection\AdminCurrencyExtension;
use Elcodi\Bundle\CoreBundle\Abstracts\AbstractElcodiBundle;

/**
* Class AdminCurrencyBundle
*/
class AdminCurrencyBundle extends Bundle
class AdminCurrencyBundle extends AbstractElcodiBundle
{
/**
* Returns the bundle's container extension.
Expand All @@ -37,18 +36,4 @@ public function getContainerExtension()
{
return new AdminCurrencyExtension();
}

/**
* Register Commands.
*
* Disabled as commands are registered as services.
*
* @param Application $application An Application instance
*
* @return null
*/
public function registerCommands(Application $application)
{
return null;
}
}
19 changes: 2 additions & 17 deletions src/Elcodi/Admin/GeoBundle/AdminGeoBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@

namespace Elcodi\Admin\GeoBundle;

use Symfony\Component\Console\Application;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;

use Elcodi\Admin\GeoBundle\DependencyInjection\AdminGeoExtension;
use Elcodi\Bundle\CoreBundle\Abstracts\AbstractElcodiBundle;

/**
* Class AdminGeoBundle
*/
class AdminGeoBundle extends Bundle
class AdminGeoBundle extends AbstractElcodiBundle
{
/**
* Returns the bundle's container extension.
Expand All @@ -37,18 +36,4 @@ public function getContainerExtension()
{
return new AdminGeoExtension();
}

/**
* Register Commands.
*
* Disabled as commands are registered as services.
*
* @param Application $application An Application instance
*
* @return null
*/
public function registerCommands(Application $application)
{
return null;
}
}
19 changes: 2 additions & 17 deletions src/Elcodi/Admin/LanguageBundle/AdminLanguageBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@

namespace Elcodi\Admin\LanguageBundle;

use Symfony\Component\Console\Application;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;

use Elcodi\Admin\LanguageBundle\DependencyInjection\AdminLanguageExtension;
use Elcodi\Bundle\CoreBundle\Abstracts\AbstractElcodiBundle;

/**
* Class AdminLanguageBundle
*/
class AdminLanguageBundle extends Bundle
class AdminLanguageBundle extends AbstractElcodiBundle
{
/**
* Returns the bundle's container extension.
Expand All @@ -37,18 +36,4 @@ public function getContainerExtension()
{
return new AdminLanguageExtension();
}

/**
* Register Commands.
*
* Disabled as commands are registered as services.
*
* @param Application $application An Application instance
*
* @return null
*/
public function registerCommands(Application $application)
{
return null;
}
}
19 changes: 2 additions & 17 deletions src/Elcodi/Admin/MediaBundle/AdminMediaBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@

namespace Elcodi\Admin\MediaBundle;

use Symfony\Component\Console\Application;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;

use Elcodi\Admin\MediaBundle\DependencyInjection\AdminMediaExtension;
use Elcodi\Bundle\CoreBundle\Abstracts\AbstractElcodiBundle;

/**
* Class AdminMediaBundle
*/
class AdminMediaBundle extends Bundle
class AdminMediaBundle extends AbstractElcodiBundle
{
/**
* Returns the bundle's container extension.
Expand All @@ -37,18 +36,4 @@ public function getContainerExtension()
{
return new AdminMediaExtension();
}

/**
* Register Commands.
*
* Disabled as commands are registered as services.
*
* @param Application $application An Application instance
*
* @return null
*/
public function registerCommands(Application $application)
{
return null;
}
}
21 changes: 3 additions & 18 deletions src/Elcodi/Admin/MetricBundle/AdminMetricBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@

namespace Elcodi\Admin\MetricBundle;

use Symfony\Component\Console\Application;
use Symfony\Component\CssSelector\XPath\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;

use Elcodi\Admin\MetricBundle\DependencyInjection\AdminMetricExtension;
use Elcodi\Bundle\CoreBundle\Abstracts\AbstractElcodiBundle;

/**
* Class AdminMetricBundle
*/
class AdminMetricBundle extends Bundle
class AdminMetricBundle extends AbstractElcodiBundle
{
/**
* Returns the bundle's container extension.
Expand All @@ -37,18 +36,4 @@ public function getContainerExtension()
{
return new AdminMetricExtension();
}

/**
* Register Commands.
*
* Disabled as commands are registered as services.
*
* @param Application $application An Application instance
*
* @return null
*/
public function registerCommands(Application $application)
{
return null;
}
}
19 changes: 2 additions & 17 deletions src/Elcodi/Admin/NewsletterBundle/AdminNewsletterBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@

namespace Elcodi\Admin\NewsletterBundle;

use Symfony\Component\Console\Application;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;

use Elcodi\Admin\NewsletterBundle\DependencyInjection\AdminNewsletterExtension;
use Elcodi\Bundle\CoreBundle\Abstracts\AbstractElcodiBundle;

/**
* Class AdminNewsletterBundle
*/
class AdminNewsletterBundle extends Bundle
class AdminNewsletterBundle extends AbstractElcodiBundle
{
/**
* Returns the bundle's container extension.
Expand All @@ -37,18 +36,4 @@ public function getContainerExtension()
{
return new AdminNewsletterExtension();
}

/**
* Register Commands.
*
* Disabled as commands are registered as services.
*
* @param Application $application An Application instance
*
* @return null
*/
public function registerCommands(Application $application)
{
return null;
}
}
Loading

0 comments on commit 508756c

Please sign in to comment.