Skip to content

Commit 95b2c7d

Browse files
committed
Adding Facade in the standard way for better instantiation
1 parent b4e0c45 commit 95b2c7d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/Facades/Setting.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
/**
3+
* Laravel 4 - Persistent Settings
4+
*
5+
* @author Andreas Lutro <[email protected]>
6+
* @license http://opensource.org/licenses/MIT
7+
* @package l4-settings
8+
*/
9+
10+
namespace anlutro\LaravelSettings\Facades;
11+
12+
use \Illuminate\Support\Facades\Facade;
13+
14+
class Setting extends Facade
15+
{
16+
protected static function getFacadeAccessor()
17+
{
18+
return 'anlutro\LaravelSettings\SettingsManager';
19+
}
20+
}

0 commit comments

Comments
 (0)