Skip to content

Commit 7c0e9ef

Browse files
committed
Added provides method and docblocks
1 parent 17dd56c commit 7c0e9ef

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed

src/Aws/Laravel/AwsFacade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use Illuminate\Support\Facades\Facade;
2020

2121
/**
22-
* AWS SDK for PHP service provider for Laravel applications
22+
* Facade for the AWS service
2323
*/
2424
class AwsFacade extends Facade
2525
{

src/Aws/Laravel/AwsServiceProvider.php

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ class AwsServiceProvider extends ServiceProvider
3131
const VERSION = '1.1.0';
3232

3333
/**
34-
* @inheritdoc
34+
* Register the service provider.
35+
*
36+
* @return void
3537
*/
3638
public function register()
3739
{
@@ -60,10 +62,22 @@ public function register()
6062
}
6163

6264
/**
63-
* @inheritdoc
65+
* Bootstrap the application events.
66+
*
67+
* @return void
6468
*/
6569
public function boot()
6670
{
6771
$this->package('aws/aws-sdk-php-laravel', 'aws');
6872
}
73+
74+
/**
75+
* Get the services provided by the provider.
76+
*
77+
* @return array
78+
*/
79+
public function provides()
80+
{
81+
return array('aws');
82+
}
6983
}

src/config/config.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
<?php
2+
/**
3+
* Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License").
6+
* You may not use this file except in compliance with the License.
7+
* A copy of the License is located at
8+
*
9+
* http://aws.amazon.com/apache2.0
10+
*
11+
* or in the "license" file accompanying this file. This file is distributed
12+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13+
* express or implied. See the License for the specific language governing
14+
* permissions and limitations under the License.
15+
*/
216

317
return array(
418

0 commit comments

Comments
 (0)