-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Modular Views #2069
Modular Views #2069
Conversation
{ | ||
$blade->directive('modules', function ($group = null) { | ||
$code = [ | ||
'foreach (array_numeric_sort($modules) as $group => $parts) {', |
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.
I want this tidied and turned into a single recursive function call of some sort.
$a = array_get($a, $key, PHP_INT_MAX); | ||
$b = array_get($b, $key, PHP_INT_MAX); | ||
|
||
$default = PHP_MAJOR_VERSION < 7 && !defined('HHVM_VERSION') ? 1 : 0; |
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.
We can drop the check for HHVM_VERSION
.
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.
Will do.
Can you rebase please? |
Removed old test skip
removes hhvm check
That'll have to do unless you want it better. #WorkStress |
💥 |
The aim of this PR is the achieve a modular view system. I don't believe this should be part of the plugin PR.