Laravel Eloquent Create Array Php Functions