Answers for "how to define variable as object in blade laravel"

PHP
1

how to define variable as object in blade laravel

$user = (object) [
                   'username' => 'mohsen',
                   'nickname' => 'matio'
                 ];
Posted by: Guest on October-28-2021

Code answers related to "how to define variable as object in blade laravel"

Browse Popular Code Answers by Language