Skip to content

Commit

Permalink
register symfony console namespace with autoloader.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Mar 28, 2012
1 parent c327fdc commit 2c12be3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions laravel/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,21 @@
=> path('sys').'database/eloquent/relationships/has_one_or_many'.EXT,
));

/*
|--------------------------------------------------------------------------
| Register The Symfony Components
|--------------------------------------------------------------------------
|
| Laravel's "Artisan" CLI makes use of the Symfony Console component to
| build a wonderful CLI environment that is both robust and testable.
| We'll register the component's namespace here.
|
*/

Autoloader::namespaces(array(
'Symfony\Component\Console' => path('base').'vendor/Symfony/Component/Console',
));

/*
|--------------------------------------------------------------------------
| Set The CLI Options Array
Expand Down

0 comments on commit 2c12be3

Please sign in to comment.