Skip to content

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

Merged
taylorotwell merged 1 commit intolaravel:5.4from
ahmedash95:if-isset
Mar 20, 2017
Merged

[5.4] Add @isset() to BladeEngine #18425
taylorotwell merged 1 commit intolaravel:5.4from
ahmedash95:if-isset

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