-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9144d8
commit 590b4b3
Showing
3 changed files
with
98 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
<?php | ||
|
||
return [ | ||
/** | ||
* @var boolean | ||
*/ | ||
'debug' => false, | ||
/** | ||
* @var boolean | ||
*/ | ||
'debug' => false, | ||
|
||
/** | ||
* @var boolean | ||
*/ | ||
'truncated_debug' => false, | ||
/** | ||
* @var boolean | ||
*/ | ||
'truncated_debug' => false, | ||
|
||
/** | ||
* Settings adapter | ||
* @var array|null | ||
*/ | ||
'storage_config' => [ | ||
'storage' => 'file', | ||
'basefolder' => storage_path() . '/instagram-api', | ||
], | ||
/** | ||
* Settings adapter | ||
* @var array|null | ||
*/ | ||
'storage_config' => [ | ||
'storage' => 'file', | ||
'basefolder' => storage_path() . '/instagram-api', | ||
], | ||
|
||
/** | ||
* Enable or disable using proxies in the API | ||
* @var boolean | ||
*/ | ||
'use_proxy' => false, | ||
/** | ||
* List of the proxies. | ||
* e.g. https://free-proxy-list.net/ | ||
* | ||
* @var array | ||
*/ | ||
'proxies' => [ | ||
//'103.14.8.239:8080', | ||
], | ||
/** | ||
* Enable or disable using proxies in the API | ||
* @var boolean | ||
*/ | ||
'use_proxy' => false, | ||
/** | ||
* List of the proxies. | ||
* e.g. https://free-proxy-list.net/ | ||
* | ||
* @var array | ||
*/ | ||
'proxies' => [ | ||
//'103.14.8.239:8080', | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
<?php | ||
namespace MichelMelo\InstagramApi\Facades; | ||
|
||
class InstagramApi extends \Illuminate\Support\Facades\Facade { | ||
/** | ||
* {@inheritDoc} | ||
*/ | ||
protected static function getFacadeAccessor() { | ||
return 'instagram.singleton'; | ||
} | ||
class InstagramApi extends \Illuminate\Support\Facades\Facade | ||
{ | ||
/** | ||
* {@inheritDoc} | ||
*/ | ||
protected static function getFacadeAccessor() | ||
{ | ||
return 'instagram.singleton'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters