Navigation Menu

Skip to content

Commit

Permalink
removed the dependency on the \App namespace
Browse files Browse the repository at this point in the history
moved the files in Microweber\App namespace
  • Loading branch information
peter-mw committed Feb 7, 2017
1 parent 2cb85b7 commit b98923c
Show file tree
Hide file tree
Showing 32 changed files with 102 additions and 308 deletions.
7 changes: 0 additions & 7 deletions app/Commands/Command.php

This file was deleted.

34 changes: 0 additions & 34 deletions app/Console/Commands/InspireCommand.php

This file was deleted.

29 changes: 0 additions & 29 deletions app/Console/Kernel.php

This file was deleted.

7 changes: 0 additions & 7 deletions app/Events/Event.php

This file was deleted.

49 changes: 0 additions & 49 deletions app/Exceptions/Handler.php

This file was deleted.

6 changes: 3 additions & 3 deletions bootstrap/app.php
Expand Up @@ -28,17 +28,17 @@

$app->singleton(
'Illuminate\Contracts\Http\Kernel',
'App\Http\Kernel'
'Microweber\App\Http\Kernel'
);

$app->singleton(
'Illuminate\Contracts\Console\Kernel',
'App\Console\Kernel'
'Microweber\App\Console\Kernel'
);

$app->singleton(
'Illuminate\Contracts\Debug\ExceptionHandler',
'App\Exceptions\Handler'
'Microweber\App\Exceptions\Handler'
);

/*
Expand Down
8 changes: 4 additions & 4 deletions config/app.php
Expand Up @@ -78,7 +78,7 @@
|
*/

'key' => 'YourSecretKey!!!',
'key' => 'base64:5pJ1a1JxZSRm45h+leC9nLkqJUicLgPN11OQZW3BNBY=',

'cipher' => 'AES-256-CBC',

Expand Down Expand Up @@ -113,9 +113,9 @@
/*
* Application Service Providers...
*/
'App\Providers\AppServiceProvider',
'App\Providers\EventServiceProvider',
'App\Providers\RouteServiceProvider',
'Microweber\App\Providers\AppServiceProvider',
'Microweber\App\Providers\EventServiceProvider',
'Microweber\App\Providers\RouteServiceProvider',
'Microweber\MicroweberServiceProvider',

/*
Expand Down
2 changes: 1 addition & 1 deletion config/auth.php
Expand Up @@ -59,7 +59,7 @@
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\User::class,
'model' => Microweber\App\User::class,
],
// 'users' => [
// 'driver' => 'database',
Expand Down
File renamed without changes.
7 changes: 7 additions & 0 deletions src/Microweber/App/Commands/Command.php
@@ -0,0 +1,7 @@
<?php namespace Microweber\App\Commands;

abstract class Command {

//

}
13 changes: 11 additions & 2 deletions src/Microweber/App/Console/Kernel.php
Expand Up @@ -12,9 +12,18 @@ class Kernel extends ConsoleKernel {
*/
protected $commands = [
'Microweber\App\Console\Commands\InspireCommand',
'Microweber\App\Console\Commands\KeyGenerateCommand',
];


/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
$schedule->command('inspire')
->hourly();
}

}
7 changes: 7 additions & 0 deletions src/Microweber/App/Events/Event.php
@@ -0,0 +1,7 @@
<?php namespace Microweber\App\Events;

abstract class Event {

//

}

0 comments on commit b98923c

Please sign in to comment.