From 2c12be305d99020f1213bf680a60d14ea5638988 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 27 Mar 2012 22:40:13 -0500 Subject: [PATCH] register symfony console namespace with autoloader. --- laravel/core.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/laravel/core.php b/laravel/core.php index 48ad7ecb..c3949ab4 100644 --- a/laravel/core.php +++ b/laravel/core.php @@ -87,6 +87,21 @@ Autoloader::map(array( => 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