laravel-helper maintained by ahmetbarut
Description
Laravele attığım ve kabul edilmeyen çekme istekleri
Author
Last update
2022/10/24 12:16
(dev-master)
License
Downloads
78
@dd_if(bool $condition, ...$args)
For Laravel
if you use laravel framework, you can use this function to dump the variable if the condition is true.
// config/app.php
'providers' => [
...
AhmetBarut\LaravelHelper\LaravelHelperServiceProvider::class,
];
@dd_if(true, $var1, $var2, $var3);
if use only php, you can use this function to dump the variable if the condition is true.
dd_if(true, $var1, $var2, $var3);