Skip to content

Conversation

@jubianchi
Copy link
Contributor

While working on https://github.com/gushphp/gush-gitlab-adapter/pull/4 I had some problem extending model classes as they were instancating themselves through static methods using hard coded class names.

I replaced as much as possible this by using LSB (with static keyword) so that, when extending models and using their static factory methods, we get instance of the right class.

m4tthumphrey added a commit that referenced this pull request May 27, 2014
Use LSB on class instanciation to ease extending them
@m4tthumphrey m4tthumphrey merged commit 25f4361 into GitLabPHP:master May 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants