clean up base directory of phpunit stuff.
This commit is contained in:
@@ -39,6 +39,19 @@ class Bundle {
|
||||
* @return array
|
||||
*/
|
||||
public static function detect($path)
|
||||
{
|
||||
$bundles = static::search($path);
|
||||
|
||||
return array_merge($bundles, require path('base').'bundles.php');
|
||||
}
|
||||
|
||||
/**
|
||||
* Detect all of the installed bundles from disk.
|
||||
*
|
||||
* @param string $path
|
||||
* @return array
|
||||
*/
|
||||
protected static function search($path)
|
||||
{
|
||||
$bundles = array();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user