Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
1500a186
Commit
1500a186
authored
Feb 20, 2015
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak some jobs and names.
parent
d2d9c79e
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
5 additions
and
66 deletions
+5
-66
app/Handlers/Events/.gitkeep
+0
-0
app/Jobs/Job.php
+2
-2
app/Listeners/.gitkeep
+0
-0
app/Providers/BusServiceProvider.php
+0
-34
app/Providers/ConfigServiceProvider.php
+0
-23
app/Providers/EventServiceProvider.php
+3
-3
config/app.php
+0
-2
config/compile.php
+0
-2
No files found.
app/Handlers/Events/.gitkeep
deleted
100644 → 0
View file @
d2d9c79e
app/
Commands/Command
.php
→
app/
Jobs/Job
.php
View file @
1500a186
<?php
namespace
App\
Command
s
;
<?php
namespace
App\
Job
s
;
abstract
class
Command
{
abstract
class
Job
{
//
...
...
app/
Handlers/Command
s/.gitkeep
→
app/
Listener
s/.gitkeep
View file @
1500a186
File moved
app/Providers/BusServiceProvider.php
deleted
100644 → 0
View file @
d2d9c79e
<?php
namespace
App\Providers
;
use
Illuminate\Bus\Dispatcher
;
use
Illuminate\Support\ServiceProvider
;
class
BusServiceProvider
extends
ServiceProvider
{
/**
* Bootstrap any application services.
*
* @param \Illuminate\Bus\Dispatcher $dispatcher
* @return void
*/
public
function
boot
(
Dispatcher
$dispatcher
)
{
$dispatcher
->
mapUsing
(
function
(
$command
)
{
return
Dispatcher
::
simpleMapping
(
$command
,
'App\Commands'
,
'App\Handlers\Commands'
);
});
}
/**
* Register any application services.
*
* @return void
*/
public
function
register
()
{
//
}
}
app/Providers/ConfigServiceProvider.php
deleted
100644 → 0
View file @
d2d9c79e
<?php
namespace
App\Providers
;
use
Illuminate\Support\ServiceProvider
;
class
ConfigServiceProvider
extends
ServiceProvider
{
/**
* Overwrite any vendor / package configuration.
*
* This service provider is intended to provide a convenient location for you
* to overwrite any "vendor" or package configuration that you may want to
* modify before the application handles the incoming request / command.
*
* @return void
*/
public
function
register
()
{
config
([
//
]);
}
}
app/Providers/EventServiceProvider.php
View file @
1500a186
...
...
@@ -6,13 +6,13 @@ use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvi
class
EventServiceProvider
extends
ServiceProvider
{
/**
* The event
handl
er mappings for the application.
* The event
listen
er mappings for the application.
*
* @var array
*/
protected
$listen
=
[
'
event.name
'
=>
[
'EventListener'
,
'
App\Events\SomeEvent
'
=>
[
'
App\Listeners\
EventListener'
,
],
];
...
...
config/app.php
View file @
1500a186
...
...
@@ -140,8 +140,6 @@ return [
* Application Service Providers...
*/
'App\Providers\AppServiceProvider'
,
'App\Providers\BusServiceProvider'
,
'App\Providers\ConfigServiceProvider'
,
'App\Providers\EventServiceProvider'
,
'App\Providers\RouteServiceProvider'
,
...
...
config/compile.php
View file @
1500a186
...
...
@@ -16,8 +16,6 @@ return [
'files'
=>
[
realpath
(
__DIR__
.
'/../app/Providers/AppServiceProvider.php'
),
realpath
(
__DIR__
.
'/../app/Providers/BusServiceProvider.php'
),
realpath
(
__DIR__
.
'/../app/Providers/ConfigServiceProvider.php'
),
realpath
(
__DIR__
.
'/../app/Providers/EventServiceProvider.php'
),
realpath
(
__DIR__
.
'/../app/Providers/RouteServiceProvider.php'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment