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

This is just to talk about Dependency Injection #159

Closed

Conversation

daniel-dgi
Copy link
Contributor

No description provided.

@nigelgbanks
Copy link
Member

Just thought I should point out that there is exactly 1,337 additions.

@ruebot
Copy link
Member

ruebot commented Feb 24, 2016

@daniel-dgi OH MY GOD.

@@ -22,23 +23,12 @@
'twig.path' => __DIR__.'/../templates',
));

$islandoraResourceServiceProvider = new \Islandora\ResourceService\Provider\ResourceServiceProvider;
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, some how lost here. How does the collection.controller makes use of the resource routes without having them registered or mounted? Who is mounting them? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's totally non-functional. Was just trying to make a point about injecting things in and making sure to use PHP's type system for guarantees. I've yet to pull out the rest of the Resource Service stuff.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, right! Well sorry for being so silly. Thanks! I will go inject myself 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

LOL, no worries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants