bundle improvements.

This commit is contained in:
Taylor Otwell
2012-01-26 17:01:17 -06:00
parent 7052c33c37
commit d76cf4ba23
7 changed files with 47 additions and 35 deletions

View File

@@ -47,7 +47,7 @@ class Bundler extends Task {
// If no bundles are passed to the command, we'll just gather all
// of the installed bundle names and publish the assets for each
// of the bundles to the public directory.
if (count($bundles) == 0) $bundles = Bundle::all();
if (count($bundles) == 0) $bundles = Bundle::names();
$publisher = IoC::resolve('bundle.publisher');

View File

@@ -37,7 +37,7 @@ class Resolver {
// returned by "all" method on the Bundle class.
if (is_null($bundle))
{
$bundles = array_merge(Bundle::all(), array('application'));
$bundles = array_merge(Bundle::names(), array('application'));
}
else
{