-
Notifications
You must be signed in to change notification settings - Fork 158
Enhancement: Implement Entity\Repository #455
Enhancement: Implement Entity\Repository #455
Conversation
418d0da
to
b791d90
Compare
@@ -99,6 +99,7 @@ | |||
'service_manager' => [ | |||
'factories' => [ | |||
\HTMLPurifier::class => Service\HtmlPurifierFactory::class, | |||
'github_repository' => Service\GitHubRepositoryFactory::class, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the different naming?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Naming should probably be project_github_repository
or such
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, I guess because it's mostly used by View\Helper\GitHubRepositoryUrl
?
Do you have a suggestion? I'm happy to hear it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hang on a second!
837e841
to
9798664
Compare
9798664
to
3d87297
Compare
3d87297
to
29ac5ed
Compare
36fcbc9
to
b561121
Compare
Implemented the changes as suggested! |
Enhancement: Implement Entity\Repository
👍 |
This PR
Application\Entity\Repository
Service\GitHubRepositoryFactory
returning anEntity\Repository
with values retrieved from configurationController\ContributorsController
andView\Helper\GitHubRepository
to rely on that entity, rather than a configuration arrayFollows #447 (comment).