updated README and PHPDocs; cleaned up code
This commit is contained in:
@@ -14,13 +14,14 @@ class MetaServiceProvider extends ServiceProvider
|
||||
*/
|
||||
protected $defer = false;
|
||||
|
||||
/**
|
||||
* Register the custom Artisan commands.
|
||||
*/
|
||||
protected $commands = [
|
||||
'\Glmdev\Meta\Commands\MetaMigrationCommand',
|
||||
];
|
||||
|
||||
public function boot(){
|
||||
|
||||
}
|
||||
public function boot(){}
|
||||
|
||||
/**
|
||||
* Register any package services.
|
||||
@@ -29,16 +30,11 @@ class MetaServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
// die('gtest2');
|
||||
|
||||
// alias the Meta class for easy access
|
||||
$loader = \Illuminate\Foundation\AliasLoader::getInstance();
|
||||
$loader->alias('Meta', 'Glmdev\Meta\Meta');
|
||||
|
||||
// register the Artisan commands
|
||||
$this->commands($this->commands);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public static function hello(){return "Hello!";}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user