diff --git a/ThePhalconsAmazonWebServicesBundle.php b/ThePhalconsAmazonWebServicesBundle.php index 98568f7..83c366c 100644 --- a/ThePhalconsAmazonWebServicesBundle.php +++ b/ThePhalconsAmazonWebServicesBundle.php @@ -21,17 +21,19 @@ */ class ThePhalconsAmazonWebServicesBundle extends Bundle { - /** - * {@inheritdoc} - */ - public function boot() - { - if (in_array('s3', $this->container->getParameter('cybernox_amazon_web_services.enable_extensions'))) { - if (in_array('s3', stream_get_wrappers())) { - stream_wrapper_unregister('s3'); - } - S3StreamWrapper::register($this->container->get('aws_s3'), 's3'); - } - } + //TODO : inject +// /** +// * {@inheritdoc} +// */ +// public function boot() +// { +// if (in_array('s3', $this->container->getParameter('cybernox_amazon_web_services.enable_extensions'))) { +// if (in_array('s3', stream_get_wrappers())) { +// stream_wrapper_unregister('s3'); +// } +// +// S3StreamWrapper::register($this->container->get('aws_s3'), 's3'); +// } +// } }