Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Enhancement: Implement Entity\Repository #455

Merged
merged 6 commits into from
Mar 4, 2015

Conversation

localheinz
Copy link
Member

This PR

  • implements Application\Entity\Repository
  • implements a Service\GitHubRepositoryFactory returning an Entity\Repository with values retrieved from configuration
  • adjusts Controller\ContributorsController and View\Helper\GitHubRepository to rely on that entity, rather than a configuration array

Follows #447 (comment).

@localheinz localheinz self-assigned this Mar 4, 2015
@localheinz localheinz force-pushed the feature/repository-entity branch from 418d0da to b791d90 Compare March 4, 2015 15:49
@localheinz localheinz changed the title [WIP] Enhancement: Implement Entity\Repository Enhancement: Implement Entity\Repository Mar 4, 2015
@localheinz localheinz assigned Ocramius and unassigned localheinz Mar 4, 2015
@@ -99,6 +99,7 @@
'service_manager' => [
'factories' => [
\HTMLPurifier::class => Service\HtmlPurifierFactory::class,
'github_repository' => Service\GitHubRepositoryFactory::class,
Copy link
Member

Choose a reason for hiding this comment

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

Why the different naming?

Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

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

@Ocramius

Not sure, I guess because it's mostly used by View\Helper\GitHubRepositoryUrl?
Do you have a suggestion? I'm happy to hear it!

Copy link
Member Author

Choose a reason for hiding this comment

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

@Ocramius

Hang on a second!

@localheinz localheinz force-pushed the feature/repository-entity branch from 837e841 to 9798664 Compare March 4, 2015 16:45
@localheinz localheinz force-pushed the feature/repository-entity branch from 9798664 to 3d87297 Compare March 4, 2015 16:51
@localheinz localheinz force-pushed the feature/repository-entity branch from 3d87297 to 29ac5ed Compare March 4, 2015 16:55
@localheinz localheinz force-pushed the feature/repository-entity branch from 36fcbc9 to b561121 Compare March 4, 2015 17:00
@localheinz
Copy link
Member Author

@Ocramius

Implemented the changes as suggested!

Ocramius added a commit that referenced this pull request Mar 4, 2015
Enhancement: Implement Entity\Repository
@Ocramius Ocramius merged commit ba68f07 into zendframework:master Mar 4, 2015
@Ocramius
Copy link
Member

Ocramius commented Mar 4, 2015

👍

@localheinz localheinz deleted the feature/repository-entity branch March 4, 2015 17:25
@localheinz
Copy link
Member Author

@Ocramius

Awesome, thank you for reviewing - I'm now going to have a look at @gianarb's PRs!

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

Successfully merging this pull request may close these issues.

2 participants