updated README and PHPDocs; cleaned up code

This commit is contained in:
Garrett Mills
2016-12-30 05:27:13 +00:00
parent 95f5ba11df
commit d2062d244e
2 changed files with 16 additions and 18 deletions

View File

@@ -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!";}
}