Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
Moved providers to a foundation namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Dec 7, 2015
1 parent d3db224 commit 1fc2d7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
"dev-master": "1.1-dev"
}
},
"minimum-stability": "dev",
Expand Down
2 changes: 1 addition & 1 deletion src/EventTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ protected function getEventServiceProvider()
{
$split = explode('\\', (new ReflectionClass($this))->getName());

return "{$split[0]}\\{$split[2]}\\Providers\\EventServiceProvider";
return "{$split[0]}\\{$split[2]}\\Foundation\\Providers\\EventServiceProvider";
}

public function testEventImplementsTheCorrectInterfaces()
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceProviderTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ protected function getServiceProviderClass($app)
$split = explode('\\', (new ReflectionClass($this))->getName());
$class = substr(end($split), 0, -4);

return "{$split[0]}\\{$split[2]}\\Providers\\{$class}";
return "{$split[0]}\\{$split[2]}\\Foundation\\Providers\\{$class}";
}
}

0 comments on commit 1fc2d7a

Please sign in to comment.