Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring app construct #66

Merged
merged 3 commits into from
Sep 29, 2015
Merged

Refactoring app construct #66

merged 3 commits into from
Sep 29, 2015

Conversation

gianarb
Copy link
Contributor

@gianarb gianarb commented Sep 28, 2015

Use depedency injection to build router

Use depedency injection to build router
@gianarb gianarb added this to the 0.4.0 milestone Sep 28, 2015
if ($container->has('router') == false) {
$container->set('router', $router);
throw new Exception('Define router config');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need tests for this

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created #69 for unit tests it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@samsonasik samsonasik mentioned this pull request Sep 29, 2015
gianarb pushed a commit that referenced this pull request Sep 29, 2015
@gianarb gianarb merged commit 7ea3e71 into master Sep 29, 2015
@gianarb gianarb deleted the feature/clean-app-construct branch October 5, 2015 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants