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

Changed instantiation from self to static #1

Merged
merged 2 commits into from
Sep 29, 2014
Merged

Changed instantiation from self to static #1

merged 2 commits into from
Sep 29, 2014

Conversation

freezy-sk
Copy link
Contributor

Since PHP 5.3 is required, we can benefit from late static binding when new instance will be made with child class instead of Webpatser\Uuid\Uuid
http://php.net/manual/en/language.oop5.late-static-bindings.php

webpatser added a commit that referenced this pull request Sep 29, 2014
Changed instantiation from self to static
@webpatser webpatser merged commit f28bc40 into webpatser:master Sep 29, 2014
@webpatser
Copy link
Owner

Thanks for the PR.

@freezy-sk
Copy link
Contributor Author

@webpatser you are welcome ;)

@freezy-sk freezy-sk deleted the feature/static branch September 30, 2014 15:32
KuroThing added a commit to KuroThing/laravel-uuid that referenced this pull request May 5, 2016
…ity)

This also, as a side effect add supports for the random_compact polyfill library which automatically attempts to use Lib Sodium, /dev/urandom, mcrypt, and .Net COM objects, than fails with an exception.
webpatser added a commit that referenced this pull request May 9, 2016
* master:
  More spelling :L
  Spelling!
  Suggests random_compact
  Added support for PHP 7's random_bytes function (As #1 priority)
  updated readme with accurate composer require
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.

2 participants