Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

casts laravel

class Project extends Model
{
    // ...

    protected $casts = [
        'config' => 'array',
    ];

    // ...
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #casts #laravel
ADD COMMENT
Topic
Name
2+2 =