Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[5.2] Allow Blade to recognize '::' in directive names#14265

Merged
taylorotwell merged 1 commit into
laravel:5.2from
superamadeus:patch-1
Jul 12, 2016
Merged

[5.2] Allow Blade to recognize '::' in directive names#14265
taylorotwell merged 1 commit into
laravel:5.2from
superamadeus:patch-1

Conversation

@superamadeus
Copy link
Copy Markdown

[Issue #14264]
Updated the regex pattern so that it will match directive names in '@' statements to capture a string postfixed with '::someOtherString' in it as the name for a Blade directive, to allow for more elegant and organized directive naming (e.g. allow for '@Package::directive')

This will still capture directive names without the '::someString'.

[Issue #14264]
Updated the regex pattern so that it will match directive names in '@' statements to capture a string postfixed with '::someOtherString' in it as the name for a Blade directive, to allow for more elegant and organized directive naming (e.g. allow for '@Package::directive')

This will still capture directive names without the '::someString'.
@GrahamCampbell GrahamCampbell changed the title Allow Blade to recognize '::' in directive names [5.2] Allow Blade to recognize '::' in directive names Jul 9, 2016
@taylorotwell taylorotwell merged commit 65589c8 into laravel:5.2 Jul 12, 2016
@superamadeus superamadeus deleted the patch-1 branch July 13, 2016 17:03
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