Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change extension alias from "open_sky_ldap" to "opensky_ldap"

  • Loading branch information...
commit c2613b3835a0d7e3662e576e9cc6abe41c6db5d4 1 parent b34fd7b
@jmikola jmikola authored
View
6 DependencyInjection/OpenSkyLdapExtension.php
@@ -33,11 +33,11 @@ public function load(array $configs, ContainerBuilder $container)
}
/**
- * @see Symfony\Component\DependencyInjection\Extension.ExtensionInterface::getAlias()
+ * @see Symfony\Component\DependencyInjection\Extension\ExtensionInterface::getAlias()
* @codeCoverageIgnore
*/
public function getAlias()
{
- return 'open_sky_ldap';
+ return 'opensky_ldap';
}
-}
+}
View
15 OpenSkyLdapBundle.php
@@ -2,12 +2,13 @@
namespace OpenSky\Bundle\LdapBundle;
+use OpenSky\Bundle\LdapBundle\DependencyInjection\OpenSkyLdapExtension;
use Symfony\Component\HttpKernel\Bundle\Bundle;
-/**
- * OpenSkyLdapBundle.
- *
- * @author Jeremy Mikola <jmikola@gmail.com>
- * @codeCoverageIgnore
- */
-class OpenSkyLdapBundle extends Bundle {}
+class OpenSkyLdapBundle extends Bundle
+{
+ public function __construct()
+ {
+ $this->extension = new OpenSkyLdapExtension();
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.