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

[5.4] Add @isset() to BladeEngine #18425

Merged
merged 1 commit into from
Mar 20, 2017
Merged

[5.4] Add @isset() to BladeEngine #18425

merged 1 commit into from
Mar 20, 2017

Conversation

ahmedash95
Copy link
Contributor

@ahmedash95 ahmedash95 commented Mar 19, 2017

Just a shortcut of something that I use a lot, and I think alot of people do

@isset($var)
    // do something
@endisset

Instead of

@if(isset($var))
    // do something
@endif

@ahmedash95 ahmedash95 changed the title If-isset [5.4] Add @isset() to BladeEngine Mar 19, 2017
@taylorotwell taylorotwell merged commit 5d118a0 into laravel:5.4 Mar 20, 2017
@ahmedash95 ahmedash95 deleted the if-isset branch March 20, 2017 14:04
@AhmedCodeGuy
Copy link

Good Job ^^

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.

3 participants