Skip to content

Commit

Permalink
Working on structure documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 21, 2015
1 parent 1646204 commit 883b223
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ The `Commands` directory, of course, houses the commands for your application. C

The `Events` directory, as you might expect, houses event classes. Of course, using classes to represent events is not required; however, if you choose to use them, this directory is the default location they will be created by the Artisan command line.

The `Handlers` directory contains the handler classes for both commands and events. Handlers receive a command or event, and perform logic in response to that command or event being fired.
The `Handlers` directory contains the handler classes for both commands and events. Handlers receive a command or event and perform logic in response to that command or event being fired.

The `Services` directory contains various "helper" services your application needs to function. For example, the `Registrar` service that is included with Laravel is responsible for validating and creating new users of your application. Other examples might be services to interact with external APIs, metrics systems, or even services that aggregate data from your own application.
The `Services` directory contains various "helper" services your application needs to function. For example, the `Registrar` service included with Laravel is responsible for validating and creating new users of your application. Other examples might be services to interact with external APIs, metrics systems, or even services that aggregate data from your own application.

The `Exceptions` directory contains your application's exception handler, and is also a good place to stick any exceptions thrown by your application.
The `Exceptions` directory contains your application's exception handler and is also a good place to stick any exceptions thrown by your application.

> **Note:** Many of the classes in the `app` directory can be generated by Artisan via commands. To review the available commands, run the `php artisan list make` command in your terminal.
Expand Down

0 comments on commit 883b223

Please sign in to comment.