Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to define variable as object in blade laravel

$user = (object) [
                   'username' => 'mohsen',
                   'nickname' => 'matio'
                 ];
 
PREVIOUS NEXT
Tagged: #define #variable #object #blade #laravel
ADD COMMENT
Topic
Name
6+3 =